get_visual_schema
Retrieve the formatting schema for a visual type, optionally scoping to a specific card like legend or axis, to discover property types and constraints.
Instructions
Get the formatting schema for one visualType as a compact structured object - the same cards -> properties -> {type, enum, min, max} as list_visual_properties, optionally scoped to a single card (e.g. legend, valueAxis, title). Omit card for the full schema.
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": {
"visualType": "<visualType>"
},
"name": "get_visual_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | optional single card to scope to, e.g. legend | |
| visualType | Yes | a canonical visualType key, e.g. lineChart |