get_prototype_connections
Read Figma prototype interactions by walking a node and its descendants, returning triggers, actions, resolved destinations, variables, conditional blocks, and page flow starting points.
Instructions
Read prototype interactions (Figma Design only; errors in FigJam). Walks a node and all descendants, including instance sublayers, and returns every node with reactions: trigger (timeouts/delays also as *Ms) and actions. NODE actions resolve destinationId to {id, name, type, screen (top-level frame), page}; SET_VARIABLE / SET_VARIABLE_MODE resolve variable, collection and mode names; CONDITIONAL actions are expanded recursively into blocks {condition, isElse, actions}. Also returns the page's flowStartingPoints (first = default). truncated is true when maxNodes was reached.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_prototype_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| nodeId | No | Screen, node or page id. Default: current page | |
| maxNodes | No | Max nodes to scan (default 5000) | |
| includeEmpty | No | Also list nodes that have no reactions (verbose) |