delete_area
Deletes everything on a schematic page that touches a specified rectangle, with a default dry-run listing objects before confirming deletion via apply=true.
Instructions
Delete everything on a page that touches the rectangle (Capture's area select takes objects that intersect it, not only enclosed ones, and the bounding box of a part includes its text).
With apply=false (default) nothing is deleted: the result lists what would go. Check it, then call again with apply=true; the page must be shown for that. "remaining" lists what still touches the area afterwards.
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": {
"page": "<page>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "delete_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| page | Yes | ||
| apply | No | ||
| design | No |