select_by_color
Select cells matching foreground color from a starting coordinate, with options to match character, background, or restrict to contiguous cells.
Instructions
Select cells that match specific criteria (magic wand style)
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": {
"x": "<x>",
"y": "<y>"
},
"name": "select_by_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Starting X coordinate | |
| y | Yes | Starting Y coordinate | |
| matchChar | No | Match character | |
| matchColor | No | Match foreground color | |
| matchBgColor | No | Match background color | |
| contiguous | No | Only select connected cells |