openclaw_agents_delete
Remove an agent configuration. This destructive action may orphan any sessions tied to the agent.
Instructions
Delete an agent configuration. Wraps agents.delete. Destructive — confirm before calling. Sessions tied to this agent may be orphaned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent id, e.g. 'main' | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. |