Delete an agent
cs_delete_agentPermanently delete a Microsoft Copilot Studio agent from an environment. Requires confirm: true to execute; without it, returns a dry run.
Instructions
pac copilot delete: permanently delete an agent from the environment. 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": {
"bot": "<bot>"
},
"name": "cs_delete_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | Agent id or schema name | |
| confirm | No | Required to actually perform a change in a live environment. Without it the tool returns a dry run. | |
| environment | No | Environment id or URL. Defaults to the active pac auth profile. |