create_draft_report
Create a new draft report in your personal workspace, visible only to you until submitted. Use report builder or custom query configurations.
Instructions
Create a new draft report in the caller's personal workspace — visible only
to the caller until submitted. dashboard_kind is typically "report_builder"
(multiple independently-queried sections, each its own dataset/dimensions/
measures/filters/visualization) or "custom_query" (one query, one chart).
target_domain_key should match the domain of the report's primary dataset —
this is what the report gets submitted into for review. config_json holds
that dashboard_kind's own configuration; build it up by test-running each
section with run_explore_query first so the dimensions/measures/filters are
known to work and to have a sensible recommended visualization.
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": {
"title": "<title>",
"dashboard_kind": "<dashboard_kind>",
"target_domain_key": "<target_domain_key>",
"config_json": "<config_json>"
},
"name": "create_draft_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| config_json | Yes | ||
| dashboard_kind | Yes | ||
| target_domain_key | Yes |