check_tokens
Detects off-token colors, font sizes, weights, radii, and non-4px spacing in screen HTML to verify edits; omit the file to check all screens.
Instructions
Find off-token values in screen HTML (colors, font sizes, weights, radii, spacing not a multiple of 4). Use it to verify your edits. Omit file to check all screens. If the project has no tokens.json it returns registered: false and no violations (nothing to check against).
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": "check_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No |