get_report_execution_widget
Fetch an advanced view for one widget from get_report_execution. Use when the user asks for detail behind one widget of a report run. Pass widgetId and a view from its drillDown list. DIGEST tree returns the full formatted tree. Optional returnImage "link" or "base64" returns the PNG already stored on a GRAPH_SNAPSHOT (no re-render). Omit for the usual view. "base64" also attaches the PNG bytes — large, only if the host cannot fetch the URL. Other widget types have no stored image. Read-only; never starts new investigations. Effects: Read-only retrieval or computation; does not change saved resources or send messages. Scope: Authorized Costory workspace only. A returned image link is the PNG already stored on the execution and is not published outside the workspace. EXAMPLE: { executionId: "clx…", widgetId: "clx…", view: "series", returnImage: "link" }
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": {
"executionId": "<executionId>",
"widgetId": "<widgetId>",
"view": "<view>"
},
"name": "get_report_execution_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Organization slug. Omit to auto-detect from your account (fails if you belong to multiple orgs). | |
| view | Yes | `series`, `tree`, or `investigations`. | |
| context | No | Optional context used only for analytics; it does not affect tool execution. Omit it by default. Do not include conversation text, personal information, or workspace data. | |
| widgetId | Yes | Widget id within that execution. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| executionId | Yes | Report execution id. | |
| returnImage | No | Omit (default) for the usual view only. "link": same view plus imageUrl of the PNG already stored on a GRAPH_SNAPSHOT (no re-render). "base64": same plus an inline PNG block fetched from that URL — large payload, only if the host cannot fetch the URL. Widgets with no stored image keep the view and append JSON { "image": "unsupported", "message": "..." }. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |