delete_shape
Remove a committed shape by its returned ID to correct or clean up takeoff geometry.
Instructions
Remove a committed shape by the id returned when it was committed. Coordinates are image px at render scale 2.0: PDF pt × 2, origin top-left, y down (the browser canvas's native space). Sheet payloads carry dims in both px and pt.
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 |
|---|---|---|---|
| note | No | Cutout interplay (#206), when it applies: the parent's cut was reverted, could not be rebuilt, or reconciled deducts were orphaned by a parent delete | |
| deleted | Yes | The removed shape's id | |
| shape_count | Yes | Committed shapes remaining |