Get Chart Schema
get_chart_schemaGet the Pydantic JSON schema for a specific Datawrapper chart type to explore styling and configuration options before building charts.
Instructions
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration.
Get the Pydantic JSON schema for a specific chart type. This is your primary tool for discovering styling and configuration options.
The schema shows:
All available properties and their types
Enum values (e.g., line widths, interpolation methods)
Default values
Detailed descriptions for each property
WORKFLOW: Use this tool first to explore options, then refer to https://datawrapper.readthedocs.io/en/latest/ for detailed examples and patterns showing how to use these properties in practice.
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": {
"chart_type": "<chart_type>"
},
"name": "get_chart_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_type | Yes | Chart type to get schema for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |