tileset
Work with tilesets (tile index 0 is always the empty tile). Actions: list, image (see every tile as one picture, labeled grid in index order), get_tile (pixels of one tile in the legend format), set_tile (replace a tile's pixels from rows+legend or a PNG path), add_tile (append an empty tile, or ...
This record as markdown: /tools/pixmith-mcp/tileset.md
What tileset does on Pixmith
AI agents call tileset to retrieve information from Pixmith without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
doc | string | — | Document id (see doc_list); optional when only one document is open. |
name | string | — | rename: new name. |
path | string | — | set_tile/add_tile: PNG file with the tile's pixels (tile-sized). |
rows | array | — | set_tile/add_tile: one string per row, one legend character per pixel (as returned by get_tile). |
tile | integer | — | get_tile/set_tile/duplicate_tile/delete_tile: tile index (1 = first real tile). |
pivot | array | — | set_pivot: [x, y] point of the tile image, from its top-left corner, that sits on the center of the diamond. |
scale | integer | — | image: integer upscale (default auto). |
action | string | Yes | set_iso: Isometric tilesets: make a tileset isometric (or square again). |
cell_h | integer | — | set_iso: diamond cell height in pixels (default cell_w / 2). |
cell_w | integer | — | set_iso: diamond cell width in pixels (even; 0 makes the tileset square again). |
legend | object | — | set_tile/add_tile: character -> color; "." is transparent unless mapped. |
tileset | object | — | Tileset index or name (default: the tileset of the active layer, else 0). |
Parameters from the server's own tool schema.
Why tileset is rated Low
Even though tileset only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Risk signalsAccepts file system path (path) · High parameter count (13 properties) · Bulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs tileset 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 tileset, this is the rule to start with:
tileset is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Pixmith, apply this rule, and every tileset call is checked against it from then on.
Questions about tileset
Work with tilesets (tile index 0 is always the empty tile). Actions: list, image (see every tile as one picture, labeled grid in index order), get_tile (pixels of one tile in the legend format), set_tile (replace a tile's pixels from rows+legend or a PNG path), add_tile (append an empty tile, or one with pixels), duplicate_tile, delete_tile (alias: remove_tile; cells using it become empty, higher indices shift down), rename, set_base_index (the number shown for tile 1). Isometric tilesets (Tilemap iso): set_iso {cell_w, cell_h} makes a tileset isometric (cell_w 0 makes it square again; only while no layer shows its tiles), get_pivot / set_pivot {tile, pivot: [x, y]} / clear_pivot (the pivot is the point of the tile image, from its top-left corner, that sits on the center of the diamond; the default is centered and, for images taller than the cell, bottom-aligned so the diamond is the bottom cell_h rows), pivots (every tile's pivot, custom ones marked) and texture_origin {tile?} (the pivot as Godot's TileData.texture_origin, offset from the image center, which export_godot_tileset writes). Drawing on a tilemap layer also edits the tiles it shows. It is categorised as a Read tool in the Pixmith MCP Server, which means it retrieves data without modifying state.
tileset accepts 12 parameters: doc, name, path, rows, tile, pivot, scale, action, cell_h, cell_w, legend, tileset. Required: action. 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 tileset: 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.
tileset is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the tileset 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 tileset. 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.
tileset 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.
This server
Across the catalogue