apply_to_selection
Apply operations such as clear, fill, or recolor to all cells in the currently selected area of ASCII art.
Instructions
Apply an operation to all cells in the current 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": {
"operation": "<operation>"
},
"name": "apply_to_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation to apply | |
| char | No | Character for fill operation | |
| color | No | Color for fill/recolor | |
| bgColor | No | Background color for fill/recolor |