update_diagram_piece
Updates an existing diagram piece in place for title, function path, or group changes, and rebuilds the diagram from supplied inputs, dependencies, and outputs; include all spokes to retain.
Instructions
Update an existing diagram piece. title/function_path/group are changed in place. If any of inputs/dependencies/outputs is given, the diagram is rebuilt from the given lists, so pass all spokes the piece should keep.
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": {
"file": "<file>"
},
"name": "update_diagram_piece"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Filename (e.g., '01-api-handler.md') | |
| group | No | ||
| title | No | ||
| inputs | No | ||
| outputs | No | ||
| dependencies | No | ||
| function_path | No |