get_styles
Get local styles from a Figma document, grouped as paints, texts, effects, and grids. Provides paint, text, effect, and grid style definitions for reuse.
Instructions
Return the document's local styles grouped as { paints, texts, effects, grids }. Paint styles carry their paints; text styles carry fontName / fontSize / lineHeight / letterSpacing; effect styles carry their effects; grid styles carry their layout grids.
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_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||