extract_missing_states
Scan a Figma subtree for components, compare detected states against expected state lists, and get a confidence score for missing state coverage.
Instructions
Finds components and component sets in a Figma subtree, compares detected states against a standard expected-state list, and reports missing state coverage with a confidence score.
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>",
"node_id": "<node_id>",
"access_token": "<access_token>"
},
"name": "extract_missing_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The page, frame, or component subtree to inspect | |
| file_key | Yes | The Figma file key (from the file URL) | |
| access_token | Yes | Your Figma personal access token |