Get local Figma styles
get_style_defsRead paint, text, effect, and grid styles from the open Figma file to extract design tokens locally.
Instructions
Read local paint, text, effect and grid styles from the open Figma file (useful for design tokens).
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_style_defs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Optional key of the Figma file to target. Omit to use the most recently active file; see get_plugin_status. | |
| maxStyles | No |