Open live chart
open_live_chartShow a chart that updates itself in real time: a KPI number, a line over time, bars, a progress bar toward a goal, or a funnel. It listens on a private channel of the app; anything that publishes to that channel (this conversation's publish_event, a backend through the HTTP API, an n8n or Make workflow, another agent) changes it instantly, with no polling. The result says which channel and event to publish and the data format. Clients without interactive panels get the setup as text.
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": {
"app_id": "<app_id>",
"type": "<type>",
"title": "<title>"
},
"name": "open_live_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Goal for progress (default 100); optional fixed top for line and bar. | |
| type | Yes | kpi (one big number), line (values over time), bar (one value per label), progress (value toward max) or funnel (steps from top to bottom). | |
| unit | No | Optional unit shown after numbers, such as orders or %; a currency code such as USD or TWD formats numbers as money. | |
| event | No | Event name to listen for (default chart.update). | |
| title | Yes | Chart title, such as Orders today. | |
| value | No | Starting number (kpi, progress) or first point (line). | |
| app_id | Yes | The app's ID (app_...), from list_apps. | |
| labels | No | Bars or funnel steps in order (bar, funnel), or series names (line). Labels that arrive later are added at the end. | |
| values | No | Starting values by label (bar, funnel) or by series (line). | |
| channel | No | Private channel to listen on, such as private-dashboard-sales. Leave out to get a new one. | |
| subtitle | No | Optional line under the title. |