bulk_delete_agents
Remove multiple agents from the Letta MCP Server using filters for names, tags, or specific IDs. Identify agents with list_agents first. This permanent deletion action helps manage agent collections.
Instructions
Deletes multiple agents based on filter criteria (name or tags) or a specific list of IDs. Use list_agents first to identify agents to delete. WARNING: This action is permanent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bulk_delete_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_ids | No | Optional: A specific list of agent IDs to delete. | |
| agent_name_filter | No | Optional: Filter agents to delete by name (exact match or substring, depending on API). | |
| agent_tag_filter | No | Optional: Filter agents to delete by tag(s). Provide a single tag or comma-separated list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | No | ||
| deleted | Yes | ||
| results | No | ||
| total_agents | Yes |