frame
Frame menu and timeline: edit animation frames (0-based). Actions: add (count empty frames after frame, default after the active one), duplicate (copy frame right after itself, count times in one undo step and, in live mode, one request to the app; link=true makes the copies share the source's ce...
This record as markdown: /tools/pixmith-mcp/frame.md
What frame does on Pixmith
AI agents call frame 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 |
|---|---|---|---|
to | integer | — | move: destination index. |
all | boolean | — | set_duration: every frame. |
doc | string | — | Document id (see doc_list); optional when only one document is open. |
link | boolean | — | duplicate: share the source frame's cels with the copies (linked cels, like `cel link`) instead of copying the pixels, so N copies cost almost no memory and the |
count | integer | — | add/duplicate: how many (default 1, max 1024), all in one undo step and (in live mode) one request to the app. |
frame | integer | — | The frame to act on (default: active). add inserts after it. |
action | string | Yes | |
frames | array | — | set_duration: these frames instead of `frame`. |
duration_ms | integer | — | set_duration: milliseconds (1-65535). |
Parameters from the server's own tool schema.
Why frame is rated Critical
An AI agent that decides to call frame 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.
Risk signalsBulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs frame 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 frame, this is the rule to start with:
frame 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 frame call is checked against it from then on.
Questions about frame
Frame menu and timeline: edit animation frames (0-based). Actions: add (count empty frames after frame, default after the active one), duplicate (copy frame right after itself, count times in one undo step and, in live mode, one request to the app; link=true makes the copies share the source's cels instead of copying pixels, so many copies cost almost no memory; unlinked copies cost frames x layers x canvas size), remove (alias: delete), move (frame frame to position to), set_duration (milliseconds for frame, frames list, or every frame with all=true). Tags are adjusted automatically. 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.
frame accepts 9 parameters: to, all, doc, link, count, frame, action, frames, duration_ms. 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 frame: 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.
frame 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 frame 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 frame. 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.
frame 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