pbi_read_dax_editor
Reads the DAX query editor content from Power BI Desktop's DAX query view. Use this tool to retrieve the DAX code after opening the DAX query view tab.
Instructions
Read the DAX query view editor text (Monaco). Reaches the daxQueryView CDP target (a SEPARATE page from reportView); returns {ok:false, reason} if that view has never been opened in Desktop (open it via the DAX query view tab first — this tool will NOT open ribbon views). Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pbi_read_dax_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||