Get chart
get_chartRetrieve and display a Datawrapper chart by ID, with optional metadata, data rows, and embed codes; results can open in an interactive viewer.
Instructions
Datawrapper: show one chart. include adds sections: 'metadata' (describe/visualize/axes, capped), 'data' (first rows as CSV), 'embed' (embed codes, published charts only). In clients that support MCP Apps the result opens in an interactive chart viewer.
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_id": "<chart_id>"
},
"name": "get_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | ||
| chart_id | Yes | ||
| max_rows | No | Rows of data to include (default 25). |