delete_shape
Remove a shape from a Visio diagram by specifying its shape ID. Enables programmatic deletion of unwanted elements in your diagrams.
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": {
"shape_id": "<shape_id>"
},
"name": "delete_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||