get_tokens
Retrieve design tokens (colors, typography, spacing, radii, fonts, tap targets) from tokens.json for consistent screen creation and editing; if unavailable, keep existing file styles.
Instructions
Get the design tokens (colors per theme, font sizes, weights, radii, spacing, fonts, minimum tap target) from tokens.json. Use only these values when creating or editing screens. If the project has no tokens.json it returns registered: false and no values; then keep to the styles already in the file.
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_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||