delete_agent
Remove an agent from the pool by its key, discarding its conversation and run record. Intended for intentional dismissal of teammates.
Instructions
Remove the pooled entry stored under agent_key.
This is also the legitimate dismissal path for a teammate: deleting its teammate.* entry
discards its standing conversation, and the next run_teammate call
re-creates it fresh from its roster template. No guard against the teammate namespace here —
unlike create_agent/run_agent, dismissal is intentional deletion, not accidental bypass.
Dismissing a teammate with a live run discards that run's record along with the entry, and the
still-running background task dies unrecorded when it eventually finishes or fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_key | Yes | Stable external identifier for the pooled agent a caller manages — assign your own scheme (a ticket id, a slug, a UUID, anything meaningful to your use case). The pool's logical lookup key; distinct from the human-readable display name, and distinct from the harness's per-dispatch `AgentId`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |