Get Report
pbir_get_reportRetrieve the current Power BI report path, detect a sibling semantic model, and expose live connection details so you can read the remote schema.
Instructions
Show the currently connected report path. Includes hasSemanticModel: boolean — true when a sibling .SemanticModel/ folder exists. Check this before calling pbir_model_usage. For live-connected reports (hasSemanticModel:false), also includes liveConnection: {workspace, dataset, semanticModelId} parsed straight from definition.pbir — feed these directly into powerbi-modeling-mcp's ConnectFabric operation (workspaceName + semanticModelName) to read the REAL remote schema without asking the user for the workspace/dataset name.
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": "pbir_get_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| _cache | No | ||
| success | No | ||
| reportPath | No | ||
| liveConnection | No | ||
| hasSemanticModel | No |