set_matrix_transform
Apply transformation matrices to Figma nodes individually or in batch. Specify node IDs and matrices to modify layouts, rotations, or scaling. Supports error handling options for streamlined updates.
Instructions
Set a transformation matrix on one or more Figma nodes (single or batch).
Parameters:
entry: { nodeId: string, matrix: number[] } (optional, for single)
entries: Array<{ nodeId: string, matrix: number[] }> (optional, for batch)
options: { skipErrors?: boolean } (optional)
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the result for each node.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_matrix_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | No | ||
| entry | No | ||
| options | No |