set_focus
Scrolls the Figma viewport to a specified node and selects it. Use this to locate and work on exact elements in large designs.
Instructions
Scroll the Figma viewport to focus on a node and select it.
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_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node ID |