GovTribe

Show chart MCP response

MCP tool response returned by the Show chart MCP tool.

Response Shape

The response echoes the validated chart payload used to render a read-only inline chart.

Presentation identifiers are supplied in the normalized response even when omitted from the call. They are display identifiers; preserve any returned interactionId separately for Interaction state MCP tool.

FieldTypeNotes
idstringCaller-provided or generated chart presentation identifier.
kindstringChart variant: trend, comparison, or leaderboard.
titlestringDisplay title for the chart.
seriesobject arraySeries definitions used to read values from each row.
rowsobject arrayData rows rendered by the chart.
valueFormatobject or nullOptional numeric, currency, or percent formatting configuration.
Other validated fieldsmixedOther 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
  }
}