cast stop
Stop a running agent and destroy its sandbox.Usage
Arguments
| Argument | Description | Required |
|---|---|---|
slug | The agent’s unique slug | Yes |
Example
What Happens
- The agent’s sandbox is destroyed via
DELETE /agents/{slug}/sandbox - The agent status changes to
stopped - The agent can no longer receive invocations until redeployed
See Also
- cast deploy — Deploy or redeploy an agent
- Agents API —
agents.stop()SDK method