Get the config schema + worked examples for a type
get_spec_schemaRetrieve the full spec for a chart type — JSON schema, data schema, examples, and defaults — so you can configure your first asset without guessing.
Instructions
Returns the JSON Schema for the type's config, the data schema, two worked examples (minimal + rich), and defaults — the complete config in force when nothing is set (every font, padding, color), which a brand and then the chart's own config merge over. Read this before your first create_asset of a given type; read a baseline value from defaults instead of guessing it.
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": {
"type": "<type>"
},
"name": "get_spec_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | e.g. "line" |