edit_drawing
Apply atomic changes to nodes, connections, groups, pins, and constraints in a drawing, then return compact metadata or a preview for verification.
Instructions
Atomically edit nodes, connections, groups, pins, constraints, overlap permissions, patches or reflow. Example operations: pin api; insert_between df-edge-1 with redis; disconnect obsolete. Discover exact operation names/examples with get_capabilities. Returns compact metadata by default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"expectedRevision": "<expectedRevision>",
"operations": "<operations>"
},
"name": "edit_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| preview | No | ||
| operations | Yes | ||
| includeSource | No | ||
| expectedRevision | Yes |