extract_flows
Extract prototype flows from a Figma page or frame, identifying transition links to produce directed connections and a deterministic traversal order.
Instructions
Extracts prototype flows from a page or frame by finding transition links in the node tree, then returns directed frame-to-frame connections and a deterministic traversal order.
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": {
"file_key": "<file_key>",
"access_token": "<access_token>",
"node_id": "<node_id>"
},
"name": "extract_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The page or top-level frame node ID to scan for flows | |
| file_key | Yes | The Figma file key (from the file URL) | |
| access_token | Yes | Your Figma personal access token |