delete_shape
Permanently delete a specific shape from a Visio diagram by providing its shape ID and optional page index.
Instructions
Permanently delete a shape from the page.
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": {
"shapeId": "<shapeId>"
},
"name": "delete_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shapeId | Yes | Shape ID to delete, e.g. "Sheet.5". | |
| pageIndex | No | 0-based page index. |