palette_inspect
Inspect an SVG's local colors by listing direct hex values from attributes and inline paint styles, plus local CSS variables, without reading global palettes.
Instructions
Lists direct local hex colors in attributes or typed inline paint styles, plus local CSS variable values, without reading global Inkscape palettes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "palette_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | ||
| swatches | Yes | ||
| truncated | Yes | ||
| cssVariables | Yes |