view_settings
Read or change per-sprite view settings: grid, pixel grid, symmetry, tiled mode, onion skin, overlays, checkerboard, zoom, scroll, playback, timeline, and preview. No options reads current values.
Instructions
Reads or changes per-sprite view settings: grid (show, snap, bounds, color, opacity), pixel grid, symmetry mode and axes, tiled mode, onion skin, overlays (layer edges, selection edges, slices, auto guides, tile numbers, brush preview), checkerboard colors; and in live mode zoom, scroll, fit to screen, playback, timeline and preview window. Call with no options to read them.
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": "view_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | ||
| show | No | ||
| zoom | No | Live: editor zoom (1 = 100%) | |
| scroll | No | Live: sprite pixel to center the editor on | |
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch | |
| playback | No | Live: start/stop animation playback (toggles) | |
| symmetry | No | ||
| timeline | No | Live: open (true) or close (false) the timeline | |
| fitScreen | No | Live: zoom to fit | |
| onionSkin | No | ||
| pixelGrid | No | ||
| tiledMode | No | ||
| background | No | Checkerboard behind transparent pixels | |
| togglePreview | No | Live: show/hide the preview window |