set_focus
Focuses on a specific Figma node by selecting it and scrolling the viewport to it, so you can locate and work on an element using its node ID.
Instructions
Set focus on a specific node in Figma by selecting it and scrolling viewport to 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 | The ID of the node to focus on |