tween

Animate a layer (or group) by keyframes instead of redrawing it: properties x, y (offset in pixels), rotation (degrees, clockwise), scale_x, scale_y (1 = 100%), opacity (0-1). Between keys the value follows the key's ease: linear, hold, in_quad, out_quad, in_out_quad, in_out_cubic, out_back, out_...

SERVERPixmith SOURCEpixmith-mcp
High RISK CLASS
Category Execute
Parameters 121 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

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

What tween does on Pixmith

AI agents invoke tween 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.

ParameterTypeRequiredDescription
x number — set_pivot: pivot in canvas pixels.
y number — set_pivot: pivot in canvas pixels.
to integer — move_key: destination; copy_keys/bake range: last frame.
doc string — Document id (see doc_list); optional when only one document is open.
ease string — Ease from this key to the next (default linear).
from integer — move_key/copy_keys/bake range: first frame.
mode string — bake: all (default), range (from..to) or frame.
frame integer — Key frame (default: active); info: frame to evaluate; paste_keys: where to paste; bake mode frame: the frame.
layer object — Layer or group (default: active).
value number — set_key: value.
action string Yes set_parent: Tween rig: give the layer a parent.
bezier array — bezier ease: [x1, y1, x2, y2] (like CSS cubic-bezier).

Parameters from the server's own tool schema.

Why tween is rated High

tween 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 signalsHigh parameter count (26 properties)

Questions about tween

What does the tween tool do? +

Animate a layer (or group) by keyframes instead of redrawing it: properties x, y (offset in pixels), rotation (degrees, clockwise), scale_x, scale_y (1 = 100%), opacity (0-1). Between keys the value follows the key's ease: linear, hold, in_quad, out_quad, in_out_quad, in_out_cubic, out_back, out_bounce, or bezier with control points [x1, y1, x2, y2]. Actions: info (keys, pivot, options, the transform at frame), set_key, set_keys (several properties at one frame), remove_key (alias: delete_key), move_key, set_ease, set_pivot / reset_pivot (rotation/scale center), set_options (rotsprite, snap_scale, ignore_opacity), copy_keys / paste_keys, bake (render the tween into real cels: mode all / range / frame; new_layer puts them on a new layer; keep_source keeps the keys), bake_all. Tween rig (the app's Tween panel Parent picker): a layer can have a tween parent, so its transform is the parent's composed with its own about its own pivot: rotate a thigh and the shin, whose pivot is the knee, follows (thigh -> shin -> boot, body -> arm). Actions set_parent (parent = a layer; fails for a cycle, a group or a tilemap), clear_parent, get_parent, children (direct children of layer), composed_transform (at frame: matrix [a, b, c, d, e, f] with x' = a*x + c*y + e, y' = b*x + d*y + f including all ancestors, rotation in degrees, scale_x, scale_y and where the layer's pivot is on the canvas; a child without keys of its own just follows its parent). Opacity is not inherited. info shows parent, children and the effective frame range. bake and bake_all are rig-aware (a child bakes with its composed transform; baking a child alone detaches it; a layer that still has children needs keep_source or bake_all). The parent link is saved with the document. Tweened layers already render and export animated; bake when you need real per-frame pixels to edit. It is categorised as a Execute tool in the Pixmith MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does tween accept? +

tween accepts 12 parameters: x, y, to, doc, ease, from, mode, frame, layer, value, action, bezier. Required: action. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on tween? +

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

tween is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit tween? +

Yes. Add a rate_limit block to the tween 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 tween completely? +

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

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