erase_stroke
Remove specified strokes from an ink-layer drawing by index; remaining strokes are renumbered, and strokes bordering painted areas are refused to protect artwork.
Instructions
Remove strokes from a drawing on an ink layer by index (from read_drawing). Indices are those BEFORE the call; the remaining strokes are renumbered. A stroke that borders a painted area is refused.
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": {
"scene": "<scene>",
"layer": "<layer>",
"frame": "<frame>",
"indices": "<indices>"
},
"name": "erase_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | ||
| layer | Yes | ||
| scene | Yes | ||
| indices | Yes |