figma_use
Bundle Figma component, token, and design-context queries into one call to gather complete design references for implementation planning.
Instructions
High-level orchestrator that bundles component, token and design-context lookups in one call. intent='component' -> node detail + Code Connect hint. intent='token' -> team library variable search. intent='design_context' -> full bundle (component + hints + tokens). Prefer this before implementing a design to collect all references in a single round-trip.
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": {
"intent": "<intent>"
},
"name": "figma_use"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max variable results (default 25). | |
| query | No | Token name filter for 'token' / 'design_context'. | |
| intent | Yes | Lookup mode. | |
| nodeId | No | Required for 'component' and 'design_context'. | |
| fileKey | No | Target a specific connected file. | |
| figmaUrl | No | Figma file URL for routing. |