export_solution
Export a Power Apps solution into a timestamped folder and unpack it for offline reading of tables, relationships, and canvas apps. Use managed=true to export a managed package.
Instructions
Export a solution from an allowlisted environment (read-side: nothing changes in the environment) into a new timestamped folder under the output dir, and by default unpack it there (pac solution unpack) so its tables, relationships and canvas apps can be read offline. managed=true exports the managed package (only possible from the environment where the solution is unmanaged). Takes ~1 minute. Returns the zip and folder paths.
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": {
"solution": "<solution>"
},
"name": "export_solution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unpack | No | ||
| managed | No | ||
| solution | Yes | ||
| environment | No |