Delete a Wiro agent
delete_agentPermanently remove a deployed agent after cancelling its plan and stopping it; without confirm, it only checks blockers, then repeat with confirm after approval.
Instructions
Delete a deployed agent. This cannot be undone: the agent disappears from every list at once, its data is removed later and there is no restore. The order is: cancel the plan with manage_agent_billing (no refund for the rest of the period), stop the agent with control_agent, then delete it. A card plan has to end first: cancel it, and delete the agent once its period has ended. Without confirm: true the tool only checks what is still in the way and describes the deletion; repeat the call with confirm: true after the user agrees. On a team agent this needs a team admin or the person who deployed it.
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": {
"agent_guid": "<agent_guid>"
},
"name": "delete_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false only checks and describes the deletion. true deletes the agent. Set it only after the user agreed. | |
| agent_guid | Yes | The deployed agent's guid, from list_my_agents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| status | Yes | ||
| deleted | Yes | ||
| message | Yes | ||
| blockers | Yes | ||
| agentGuid | Yes | ||
| deletedAt | No | ||
| nextAction | No | ||
| statusLabel | Yes |