inspect_connection
Discover a Power BI semantic model's live schema and metadata through non-admin MDSCHEMA rowsets, with optional preview rows for exploration.
Instructions
Inspect model metadata using non-admin MDSCHEMA rowsets.
Prefer get_connection_context first — it returns curated documentation without hitting the server. Use this only for live schema discovery.
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>"
},
"name": "inspect_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview_rows | No | ||
| connection_name | Yes | ||
| connections_dir | No | Connections | |
| command_timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |