batch_recolor
Replace all instances of a specific color with a new color in an ASCII art frame or selected region.
Instructions
Replace one color with another across the entire frame or selection.
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": {
"oldColor": "<oldColor>",
"newColor": "<newColor>"
},
"name": "batch_recolor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oldColor | Yes | Color to replace (hex format like #FF0000) | |
| newColor | Yes | New color (hex format) | |
| target | No | Which colors to replace | both |
| frameIndex | No | Frame to modify (defaults to current) |