set_paragraph_spacing
Adjust the vertical space between paragraphs in a Figma text node by specifying a pixel value.
Instructions
Set the paragraph spacing of a text node in Figma
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>",
"paragraphSpacing": "<paragraphSpacing>"
},
"name": "set_paragraph_spacing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node to modify | |
| paragraphSpacing | Yes | Paragraph spacing value in pixels |