iso_grid
Read or set the isometric grid of a document: tile_w x tile_h (even, 4-4096; default 32 x 16) and offset_x / offset_y (where cell (0, 0)'s bounding box starts; default 0, 0). Cell (col, row) has its box at (offset_x + (col - row) * tile_w / 2, offset_y + (col + row) * tile_h / 2). select action i...
This record as markdown: /tools/pixmith-mcp/iso-grid.md
What iso_grid does on Pixmith
AI agents call iso_grid to permanently remove resources in Pixmith, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
| Parameter | Type | Required | Description |
|---|---|---|---|
doc | string | — | Document id (see doc_list); optional when only one document is open. |
layer | object | — | The isometric tilemap layer whose grid to read or move (default: the active layer if isometric, else the only isometric layer). |
action | string | — | get (default), set or reset. |
tile_h | integer | — | set: tile height in pixels (even, 4-4096). |
tile_w | integer | — | set: tile width in pixels (even, 4-4096). |
offset_x | integer | — | set: x of cell (0, 0)'s bounding box. |
offset_y | integer | — | set: y of cell (0, 0)'s bounding box. |
Parameters from the server's own tool schema.
Why iso_grid is rated Critical
An AI agent that decides to call iso_grid doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Pixmith is gone. There is no undo for destructive operations.
Attacks that exploit this kind of access
The rule that runs iso_grid safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Pixmith, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For iso_grid, this is the rule to start with:
iso_grid is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Pixmith, apply this rule, and every iso_grid call is checked against it from then on.
Questions about iso_grid
Read or set the isometric grid of a document: tile_w x tile_h (even, 4-4096; default 32 x 16) and offset_x / offset_y (where cell (0, 0)'s bounding box starts; default 0, 0). Cell (col, row) has its box at (offset_x + (col - row) * tile_w / 2, offset_y + (col + row) * tile_h / 2). select action iso_tile uses these as its defaults, so set the grid once. When the document has an isometric tilemap layer (tilemap add_layer with cell_w; Tilemap iso) the grid IS that layer's: iso_grid get reports its cell size and offset (source "layer"; the layer is layer, else the active layer if it is isometric, else the only isometric layer), set moves the layer's grid offset (offset_x / offset_y; the cell size comes from its tileset, see tileset action set_iso) and select iso_tile uses it by default, so the overlay, the tilemap and the selection share one offset. Without an isometric layer the settings are kept by this server for the document (not in the file or in the app: the app's Isometric Grid view settings cannot be read or written through the live protocol) and are lost when the server stops or the document is closed. Actions: get (default), set (only the fields you give change), reset (forgets the server's setting). It is categorised as a Destructive tool in the Pixmith MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
iso_grid accepts 7 parameters: doc, layer, action, tile_h, tile_w, offset_x, offset_y. The full parameter table on this page comes from the server's own tool schema.
Register the Pixmith MCP server in PolicyLayer and add a rule for iso_grid: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pixmith. Nothing to install.
iso_grid is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the iso_grid rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for iso_grid. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
iso_grid is provided by the Pixmith MCP server (pixmith-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Pixmith, and thousands of servers like it.
Across the catalogue