figma_get_styles
List all published styles in a Figma file, including colors, text, effects, and grids, using the REST API. Extract the file key automatically from a Figma URL to retrieve design tokens.
Instructions
List all published styles (colors, text, effects, grids) in a Figma file. Uses REST API.
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_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaUrl | No | Figma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session. |