Get variable definitions (Figma compatible)
get_variable_defsFetches variable definitions and paint styles from a FigCraft document, returning modes, code names, and scopes for design system integration.
Instructions
The variables and paint styles of the document with their modes, code names and scopes — the Figma MCP shape.
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_variable_defs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeStyles | No |