run_connection_query
Execute a DAX query against a named Power BI connection and return the full data table plus a numbered follow-up menu.
Instructions
Run a DAX query against a named connection.
IMPORTANT: This tool returns a COMPLETE, pre-formatted response for the user. Output the returned string as your ENTIRE response — do NOT summarize, truncate, or convert the table to bullet points. The output includes a data table and a numbered follow-up menu that must both appear.
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": {
"connection_name": "<connection_name>",
"query": "<query>"
},
"name": "run_connection_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| profile | No | ||
| max_rows | No | ||
| preview_rows | No | ||
| connection_name | Yes | ||
| connections_dir | No | Connections |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |