Create an unmanaged solution
cs_create_solutionCreates a new unmanaged solution and publisher if missing in a Power Platform environment to prepare for agent creation. Requires confirm: true.
Instructions
Create a new unmanaged solution (and its publisher if missing) in an environment by packing an empty solution manifest and importing it with pac. Use it to prepare the container before cs_create_agent with solutionName. Requires confirm: true.
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": {
"uniqueName": "<uniqueName>",
"publisherPrefix": "<publisherPrefix>"
},
"name": "cs_create_solution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to actually perform a change in a live environment. Without it the tool returns a dry run. | |
| workDir | No | Where the manifest and zip are written (default <workspace>/.cs-solutions/<uniqueName>) | |
| uniqueName | Yes | e.g. contoso_Agents | |
| displayName | No | ||
| environment | No | Environment id or URL. Defaults to the active pac auth profile. | |
| publisherName | No | ||
| publisherPrefix | Yes | 2-8 lowercase characters, e.g. contoso |