export_query_pack
Export a query pack as a runnable Python, Streamlit, and Power Query workspace with connection files, so saved DAX queries can be executed outside the server.
Instructions
Export a query pack as a runnable Python/Streamlit/Power Query workspace.
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": {
"pack_path": "<pack_path>"
},
"name": "export_query_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| pack_path | Yes | ||
| output_dir | No | ||
| connections_dir | No | Connections | |
| include_streamlit | No | ||
| include_power_query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |