set_padding
Set top, right, bottom, and left padding for an auto-layout frame in Figma to control spacing and layout alignment.
Instructions
Set padding values for an auto-layout frame (top, right, bottom, left).
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": {
"nodeId": "<nodeId>"
},
"name": "set_padding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| right | No | ||
| bottom | No | ||
| nodeId | Yes |