cs_agent_destroy
Destroy a managed agent after its work is complete or abandoned, optionally cascading through descendants and discarding the session to release resources.
Instructions
Destroy a managed agent after its work is complete or abandoned, optionally cascading through descendants and discarding its session. This releases the managed lifecycle and is destructive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Managed agent id to destroy. | |
| cascade | No | Also destroy all live descendants; required when descendants still exist. | |
| discardSession | No | Also discard the persisted ACP session instead of keeping resumable state. |