read_styles
List a Figma file's variables, styles, and components with keys before implementing or editing to reuse design tokens and get component keys for creation.
Instructions
List a file's design tokens: local variables per collection with a value per mode, Figma styles (colors, text, effects, grids) with their values, and components and component sets with keys. Use it before implementing or editing, to reuse tokens and to get a componentKey for write_create; for the styles of one node, use read_structure. Variables need the kit bridge plugin in the file: without it the answer says so and lists the rest.
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": "<file>"
},
"name": "read_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Figma file URL or key | |
| offset | No | From a [more: …] footer |