Drawing edit
Tool ID: drawing_edit
Purpose and availability
Build only: save native diagram placement/routes on an exact detached candidate; electrical content must remain unchanged. Coordinates are drawing units, not geography. Native rendered review remains required.
Before invocation
Inspect the current definition and exact version/project binding before invoking. Required fields, enums, bounds and consent fields below are authoritative. Omit no required input and do not invent unavailable values.
Exact input schema
{
"additionalProperties": false,
"properties": {
"expected_artifact": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"operations": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"diagram_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"name": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"op": {
"const": "create"
}
},
"required": [
"op",
"diagram_id",
"name"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"diagram_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"op": {
"const": "remove"
}
},
"required": [
"op",
"diagram_id"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"diagram_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"draw_labels": {
"type": "boolean"
},
"height": {
"maximum": 10000,
"minimum": 1,
"type": "number"
},
"id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"op": {
"const": "place"
},
"rotation": {
"maximum": 360,
"minimum": -360,
"type": "number"
},
"width": {
"maximum": 10000,
"minimum": 1,
"type": "number"
},
"x": {
"maximum": 1000000000.0,
"minimum": -1000000000.0,
"type": "number"
},
"y": {
"maximum": 1000000000.0,
"minimum": -1000000000.0,
"type": "number"
}
},
"required": [
"op",
"diagram_id",
"id",
"x",
"y"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"diagram_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"op": {
"const": "unplace"
}
},
"required": [
"op",
"diagram_id",
"id"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"branch_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"diagram_id": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"from_anchor": {
"items": {
"maximum": 1000000000.0,
"minimum": -1000000000.0,
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"op": {
"const": "route"
},
"points": {
"items": {
"items": {
"maximum": 1000000000.0,
"minimum": -1000000000.0,
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"maxItems": 256,
"minItems": 2,
"type": "array"
},
"to_anchor": {
"items": {
"maximum": 1000000000.0,
"minimum": -1000000000.0,
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"required": [
"op",
"diagram_id",
"branch_id",
"points",
"from_anchor",
"to_anchor"
],
"type": "object"
}
]
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"scenario": {
"type": "integer"
}
},
"required": [
"expected_artifact",
"operations"
],
"type": "object"
}
Results, errors and safety
Inspect the structured result and retained IDs/artifacts. Errors, unsupported profiles, missing data and cancellation remain explicit. A successful call grants no human engineering approval. Do not retry inference automatically. See Workflows, History and Project tools.