Pack workspace into a solution zip
cs_packPackage a Copilot Studio agent workspace into a Dataverse solution .zip locally without sign-in, and run a quick structural check before export.
Instructions
pac copilot pack: local-only packaging of the workspace into a Dataverse solution .zip (no sign-in). Also a cheap structural check of the workspace. outputPath must be outside the 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": {
"publisherPrefix": "<publisherPrefix>"
},
"name": "cs_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. | |
| outputPath | No | ||
| solutionName | No | ||
| publisherPrefix | Yes |