Show chart MCP response
MCP tool response returned by the Show chart MCP tool.
- Returned by: Show chart MCP tool
- Response type: Structured app payload
Response Shape
The response echoes the validated chart payload used to render a read-only inline chart.
| Field | Type | Notes |
|---|---|---|
id | string | Caller-provided chart identifier. |
kind | string | Chart variant: trend, comparison, or leaderboard. |
title | string | Display title for the chart. |
series | object array | Series definitions used to read values from each row. |
rows | object array | Data rows rendered by the chart. |
valueFormat | object or null | Optional numeric, currency, or percent formatting configuration. |
| Other validated fields | mixed | Other accepted chart options from the live tool schema. |
Example
{
"id": "pipeline-trend",
"kind": "trend",
"title": "Pipeline value",
"series": [
{
"key": "value",
"label": "Value"
}
],
"rows": [
{
"label": "Q1",
"value": 1200000
}
],
"valueFormat": {
"kind": "currency",
"currency": "USD",
"compact": true
}
}