delete_agent
Remove an AI agent from BotUyo MCP Server with safety confirmation. Deactivates and hides agents using MongoDB ID and name verification for authorized users.
Instructions
Delete an agent (soft delete). This action is IRREVERSIBLE — the agent will be deactivated and hidden.
⚠️ IMPORTANT: This tool requires explicit confirmation. You MUST set confirm to true AND provide the exact agent name in confirmName to proceed.
Requires role: owner, admin, or developer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The MongoDB ID of the agent to delete | |
| confirm | Yes | Must be true to confirm deletion. If false or missing, the deletion will be rejected. | |
| confirmName | Yes | The exact name of the agent to delete (for safety confirmation). Must match the actual agent name. |