devtools_css_variables
Return CSS custom properties defined on :root to diagnose theming issues, including missing tokens or wrong color values.
Instructions
Return CSS custom properties (variables) defined on :root.
Helps diagnose theming issues: missing tokens, wrong colour values, variables that weren't loaded because a CSS file failed to fetch.
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": "devtools_css_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Only return variables whose name starts with this prefix, e.g. '--color' or '--'. Empty = all custom properties on :root. | -- |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||