Overview
Thedelete_agent function permanently deletes an AI agent from the system.
Function Signature
Parameters
The unique identifier of the agent to delete
Return Value
ReturnsResult<()> indicating success or failure.
Basic Usage
Error Handling
Important Notes
- This operation is irreversible
- All agent data including conversation history will be deleted
- Agents connected to active workflows cannot be deleted
- You must have appropriate permissions to delete agents
Rate Limits
- Delete operations: 20 requests per minute
- Burst limit: 5 requests per second
Related Functions
- fetch_agent - Get agent by ID
- update_agent - Update agent configuration
- create_agent - Create a new agent
