erase_pixels
Erase pixel coordinates by setting them transparent (#00000000) in a single undo step; optionally target a layer and frame.
Instructions
Erases a list of pixel coordinates by turning them transparent (#00000000) within a single undo transaction.
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": {
"points": "<points>"
},
"name": "erase_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | List of (x, y) pixel coordinates to erase | |
| layerName | No | Optional target layer name | |
| layerIndex | No | Optional target layer index | |
| frameNumber | No | Target frame number (1-indexed) | |
| returnPreview | No | When true, returns updated preview image |