delete_shape
Remove a shape from a .tldr file by its ID, with an option to also delete associated arrow bindings and affected arrow shapes.
Instructions
Delete a shape by id.
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>",
"id": "<id>"
},
"name": "delete_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .tldr file | |
| id | Yes | ||
| cascade | No | Also remove related arrow bindings and arrow shapes that lose all bindings |