free_transform
The Free Transform tool (Edit menu) for the selection (or cel): begin, then set any of x, y, width, height, angle (degrees), skew_x, skew_y (the preview updates; anchor picks the fixed point for width/height), read the state with info, and commit (one undo step) or cancel. Any other edit also com...
This record as markdown: /tools/pixmith-mcp/free-transform.md
What free_transform does on Pixmith
AI agents invoke free_transform 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
x | number | — | set: left of the box. |
y | number | — | set: top of the box. |
doc | string | — | Document id (see doc_list); optional when only one document is open. |
angle | number | — | set: rotation in degrees, clockwise. |
frame | integer | — | begin: frame (default: active). |
layer | object | — | begin: layer (default: active). |
width | number | — | set: box width. |
action | string | Yes | |
anchor | string | — | set: the point that stays fixed when width/height change (default center). |
height | number | — | set: box height. |
skew_x | number | — | set: horizontal skew in degrees. |
skew_y | number | — | set: vertical skew in degrees. |
Parameters from the server's own tool schema.
Why free_transform is rated High
free_transform 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 (13 properties)
Attacks that exploit this kind of access
The rule that runs free_transform 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 free_transform, this is the rule to start with:
free_transform stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. 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 free_transform call is checked against it from then on.
Questions about free_transform
The Free Transform tool (Edit menu) for the selection (or cel): begin, then set any of x, y, width, height, angle (degrees), skew_x, skew_y (the preview updates; anchor picks the fixed point for width/height), read the state with info, and commit (one undo step) or cancel. Any other edit also commits it. 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.
free_transform accepts 12 parameters: x, y, doc, angle, frame, layer, width, action, anchor, height, skew_x, skew_y. 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 free_transform: 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.
free_transform is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the free_transform 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 free_transform. 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.
free_transform 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