node_exists
Checks whether a specified Figma node exists before operations, helping validate node IDs and prevent errors in design automation.
Instructions
Check if a node exists in the Figma document (useful for validation before operations)
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": "node_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to check |