figma_get_text_styles
Retrieve all local text styles (IDs, names, fonts, sizes) from the current Figma file to apply consistent formatting via textStyleId.
Instructions
Get all local text styles in the current file. Returns style IDs, names, font info, and sizes. Use these IDs when setting textStyleId on text nodes via figma_execute.
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_text_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||