frame_diff

View > Frame Difference as numbers (and optionally an image): which pixels a frame changed compared with the frame before it, to find parts of a character that "stuck" or tore during a walk cycle (onion skin shows where the previous frame was, this shows what did not move with the rest). Counts c...

SERVERPixmith SOURCEpixmith-mcp
Low RISK CLASS
Category Read
Parameters 100 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/pixmith-mcp/frame-diff.md

What frame_diff does on Pixmith

AI agents call frame_diff 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.

ParameterTypeRequiredDescription
all boolean — Every frame of the document (a table of rows, no image).
doc string — Document id (see doc_list); optional when only one document is open.
wrap boolean — The frame before frame 0 is the last frame (default true; false = frame 0 has no reference).
frame integer — Frame to compare with the one before it (default: the active frame).
image boolean — Also return the difference tinted over the frame as an image (a single frame only).
layer object — Compare only this layer's cel (index or name) instead of the composite of the visible layers.
scale integer — image: integer upscale (default auto).
frames array — Several frames: one result row each, no image (max 4096). Overrides `frame`.
opacity number — image: opacity of the tint, 0.1-1 (default 0.65).
background string — image: "checker" (default), "transparent" or a color.

Parameters from the server's own tool schema.

Why frame_diff is rated Low

Even though frame_diff 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 signalsHigh parameter count (10 properties) · Bulk/mass operation — affects multiple targets

Questions about frame_diff

What does the frame_diff tool do? +

View > Frame Difference as numbers (and optionally an image): which pixels a frame changed compared with the frame before it, to find parts of a character that "stuck" or tore during a walk cycle (onion skin shows where the previous frame was, this shows what did not move with the rest). Counts changed (visible in both frames but a different color or alpha), appeared (transparent before), disappeared (transparent now), their total, bounds {x, y, w, h} around all of them (null when the frames match) and reference_frame (the frame compared against). The frame before frame 0 is the last frame when wrap=true (default; right for looping animations), none when wrap=false (then every count is 0). Compares the composite of the visible layers, or only the cel of layer (hidden layers count). Give frames or all=true for a table over many frames without images; image=true returns the difference tinted over the frame (magenta changed, green appeared, red disappeared). render with diff_prev=true draws the same overlay on any render. Never changes the document. It is categorised as a Read tool in the Pixmith MCP Server, which means it retrieves data without modifying state.

What parameters does frame_diff accept? +

frame_diff accepts 10 parameters: all, doc, wrap, frame, image, layer, scale, frames, opacity, background. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on frame_diff? +

Register the Pixmith MCP server in PolicyLayer and add a rule for frame_diff: 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.

What risk level is frame_diff? +

frame_diff is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit frame_diff? +

Yes. Add a rate_limit block to the frame_diff 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.

How do I block frame_diff completely? +

Set action: deny in the PolicyLayer policy for frame_diff. 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.

What MCP server provides frame_diff? +

frame_diff 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.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Pixmith's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.