# render

Render the sprite as a PNG image you can look at (MCP image content). Defaults: the active frame, all visible layers composited, scaled up so the long side is about 512 px, on a light checkerboard so transparency is visible. Options: other frames (up to 16 images at once), a single layer or group in isolation (shown even if hidden), a region, an explicit integer scale, a solid/transparent background, and Onion Skin (onion_skin: neighboring frames tinted red = before, blue = after) and View > Frame Difference (diff_prev=true: pixels that changed from the previous frame tinted over the render, magenta = changed, green = appeared, red = disappeared; diff_opacity, diff_wrap, diff_layer; see also the frame_diff tool for counts). The app's Grid, Isometric Grid, Tiled Mode and Preview are view-only and are not drawn. Never changes the document. For exact colors use get_pixels.

Agent View of the PolicyLayer registry record for `render`. HTML page: https://policylayer.com/tools/pixmith-mcp/render

## Facts

- Tool: `render`
- Server: Pixmith (`pixmith-mcp`) — https://policylayer.com/tools/pixmith-mcp.md
- Install: `npx -y pixmith-mcp`
- Homepage: https://www.npmjs.com/package/pixmith-mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 12
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `doc` | string | no | Document id (see doc_list); optional when only one document is open. |
| `frame` | integer | no | Frame to render (default: the active frame). |
| `layer` | object | no | Render only this layer (index or name; a group renders with its children), even if hidden. |
| `scale` | integer | no | Integer upscale 1-64 (default: auto, long side about 512 px; output is capped at 4096 px). |
| `frames` | array | no | Several frames, one image each (max 16). Overrides `frame`. |
| `region` | object | no | Only this rectangle of the canvas. |
| `diff_prev` | boolean | no | Frame Difference: tint the pixels that changed from the previous frame over the render (magenta changed, green appeared, red disappeared). Off by default. |
| `diff_wrap` | boolean | no | diff_prev: the frame before frame 0 is the last frame (default true; false = frame 0 has no reference). |
| `background` | string | no | "checker" (default), "transparent", or a color such as "#ffffff". |
| `diff_layer` | object | no | diff_prev: compare only this layer's cel instead of the composite (the app's "Active layer only"). |
| `onion_skin` | object | no | Show neighboring frames faintly (off by default). |
| `diff_opacity` | number | no | diff_prev: opacity of the tint, 0.1-1 (default 0.65). |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "render",
    "arguments": {}
  }
}
```

## Why render is rated High

render triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Risk signals: High parameter count (19 properties)

## Use case

AI agents invoke render to trigger actions in Pixmith. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Pixmith:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "render": {
      "limits": [
        {
          "counter": "render_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Pixmith (58)

- `brush` — Destructive — https://policylayer.com/tools/pixmith-mcp/brush.md
- `cel` — Destructive — https://policylayer.com/tools/pixmith-mcp/cel.md
- `clipboard` — Destructive — https://policylayer.com/tools/pixmith-mcp/clipboard.md
- `filter` — Destructive — https://policylayer.com/tools/pixmith-mcp/filter.md
- `frame` — Destructive — https://policylayer.com/tools/pixmith-mcp/frame.md
- `help` — Destructive — https://policylayer.com/tools/pixmith-mcp/help.md
- `iso_grid` — Destructive — https://policylayer.com/tools/pixmith-mcp/iso-grid.md
- `layer` — Destructive — https://policylayer.com/tools/pixmith-mcp/layer.md
- `palette` — Destructive — https://policylayer.com/tools/pixmith-mcp/palette.md
- `slice` — Destructive — https://policylayer.com/tools/pixmith-mcp/slice.md
- `tag` — Destructive — https://policylayer.com/tools/pixmith-mcp/tag.md
- `terrain` — Destructive — https://policylayer.com/tools/pixmith-mcp/terrain.md
- `terrain_paint` — Destructive — https://policylayer.com/tools/pixmith-mcp/terrain-paint.md
- `trace` — Destructive — https://policylayer.com/tools/pixmith-mcp/trace.md
- `doc_new` — Execute — https://policylayer.com/tools/pixmith-mcp/doc-new.md
- `draw_curve` — Execute — https://policylayer.com/tools/pixmith-mcp/draw-curve.md
- `draw_text` — Execute — https://policylayer.com/tools/pixmith-mcp/draw-text.md
- `free_transform` — Execute — https://policylayer.com/tools/pixmith-mcp/free-transform.md
- `run_lua` — Execute — https://policylayer.com/tools/pixmith-mcp/run-lua.md
- `sprite_size` — Execute — https://policylayer.com/tools/pixmith-mcp/sprite-size.md
- `transaction` — Execute — https://policylayer.com/tools/pixmith-mcp/transaction.md
- `transform` — Execute — https://policylayer.com/tools/pixmith-mcp/transform.md
- `tween` — Execute — https://policylayer.com/tools/pixmith-mcp/tween.md
- `color_mode` — Other — https://policylayer.com/tools/pixmith-mcp/color-mode.md
- `draw_pixels` — Other — https://policylayer.com/tools/pixmith-mcp/draw-pixels.md
- `draw_polygon` — Other — https://policylayer.com/tools/pixmith-mcp/draw-polygon.md
- `draw_shape` — Other — https://policylayer.com/tools/pixmith-mcp/draw-shape.md
- `draw_stroke` — Other — https://policylayer.com/tools/pixmith-mcp/draw-stroke.md
- `gradient` — Other — https://policylayer.com/tools/pixmith-mcp/gradient.md
- `history_goto` — Other — https://policylayer.com/tools/pixmith-mcp/history-goto.md
- …and 28 more: https://policylayer.com/tools/pixmith-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=pixmith-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/pixmith-mcp
