crop
Frames a chosen rectangle of the ASCII canvas as the new canvas and blanks cells outside the current grid, letting you isolate details or fix oversized renders.
Instructions
Crop the canvas to a rectangle; the cut-out becomes the new canvas. Cells outside the current grid become blank. Use it to frame a detail, cut a subject out of a larger render, or fix an oversized canvas.
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>",
"width": "<width>",
"height": "<height>"
},
"name": "crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge of the crop (canvas column). | |
| y | Yes | Top edge of the crop (canvas row). | |
| width | Yes | Crop width in cells. | |
| height | Yes | Crop height in cells. |