trim
Auto-crop blank margins around ASCII/braille drawings so the canvas hugs its content. Use pad to retain a blank-cell border.
Instructions
Auto-crop the blank margins around the drawing so the canvas hugs the content (like the gallery save does, but in place). Treats an ASCII space and the braille-blank as margin. pad keeps a border of that many blank cells. A fully blank canvas collapses to 1x1.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad | No | Blank-cell border to keep around the content. |