create_scroll_behavior
Configure a Figma frame's scroll behavior by setting overflow type and scroll direction, enabling horizontal, vertical, or bidirectional scrolling.
Instructions
Set scroll behavior on a frame.
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": "create_scroll_behavior"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Frame node | |
| overflow | No | Overflow behavior (default: SCROLL) | |
| direction | No | Scroll direction |