Delete elements
snipaya_delete_itemsDelete images or annotations by ID in a Snipaya tab, with one undo step available. Use it to remove specific elements without clearing the whole canvas.
Instructions
Delete elements (images or annotations) by id. One undo step.
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": {
"ids": "<ids>"
},
"name": "snipaya_delete_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| tabId | No | Target tab id. Defaults to the active tab. |