figma_get_design_context
Generate an implementation-ready context pack from Figma with bounded structure, tokens, components, variables, styles, assets, and optional screenshot for the current selection or a specified node.
Instructions
Build an implementation-ready context pack for the current selection or a Figma node, including bounded structure, tokens, components, variables, styles, assets, and an optional screenshot.
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": "figma_get_design_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| scale | No | ||
| nodeId | No | Optional Figma node ID. Defaults to the current selection. | |
| maxNodes | No | ||
| maxChildren | No | ||
| includeScreenshot | No |