figma_set_constraints
figma_set_constraintsSets horizontal and vertical constraints on one or more Figma nodes to control how they resize within frames and adapt to layout changes.
Instructions
Set horizontal and vertical constraints on one or more nodes.
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": "figma_set_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Figma node ID. Colon or URL hyphen format accepted. | |
| nodeIds | No | Figma node IDs. Colon or URL hyphen format accepted. | |
| vertical | No | ||
| screenKey | No | ||
| horizontal | No |