Extract Tokens from CSS or a Website
extract_css_tokensExtract design tokens—colors, fonts, font sizes, radii, spacing, and shadows—from a website's live stylesheets or pasted CSS, with no screenshots or API key required.
Instructions
Read a live website's stylesheets (or CSS you paste) and extract design tokens: colors, fonts, font sizes, radii, spacing and shadows. No screenshot or API key needed. Best on sites with real stylesheets; for pages styled by JavaScript, use capture_url with the vision tools.
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": "extract_css_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS text to analyze instead of a URL | |
| url | No | Page URL (http or https) | |
| format | No | json |