sketchwright_update_diagram
Updates an existing diagram specification by adding, removing, or renaming nodes and edges, then regenerates the scene.
Instructions
Incrementally update an existing diagram specification (add/remove/rename nodes, add/remove edges) and regenerate scene.
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": {
"specification": "<specification>",
"patch": "<patch>"
},
"name": "sketchwright_update_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| overwrite | No | ||
| output_path | No | ||
| specification | Yes | ||
| generate_scene | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||