design_set_transform
Set a design layer's position, size, rotation, anchor, and scale to precisely control layout and transformations in generative art sketches.
Instructions
Set the position, size, rotation, and scale of a design layer
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layerId": "<layerId>"
},
"name": "design_set_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position | |
| y | No | Y position | |
| width | No | Width | |
| height | No | Height | |
| scaleX | No | Horizontal scale | |
| scaleY | No | Vertical scale | |
| anchorX | No | Anchor X (0–1) | |
| anchorY | No | Anchor Y (0–1) | |
| layerId | Yes | ID of the layer to transform | |
| rotation | No | Rotation in degrees | |
| sketchId | No | Target sketch ID (default: selected sketch) |