create_section
Creates a Figma Section on the canvas and optionally places existing nodes inside it to group related layers.
Instructions
Create a Figma Section on the canvas and optionally move childNodeIds inside it.
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": "create_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| width | No | ||
| height | No | ||
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open | |
| fillHex | No | ||
| parentId | No | ||
| childNodeIds | No | Optional existing node IDs to place inside the section |