set_section_properties
Edit properties of an existing Figma SECTION node to change its sectionType or merge raw sectionProperties. Use it to update section behavior in Figma designs.
Instructions
Edit properties of an existing SECTION node, e.g. sectionType (SECTION | VIEWPORT) or the raw sectionProperties object.
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_section_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| sectionType | No | Section type: SECTION or VIEWPORT. | |
| sectionProperties | No | Raw sectionProperties object to merge onto the section. |