erase_color
Erase opaque pixels that match a specified color, using channel tolerance to control matching precision.
Instructions
Erase opaque pixels matching a color within channel tolerance.
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": {
"filename": "<filename>",
"layer_name": "<layer_name>",
"frame_index": "<frame_index>",
"color": "<color>"
},
"name": "erase_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| filename | Yes | ||
| tolerance | No | ||
| layer_name | Yes | ||
| frame_index | Yes |