openclaw_sessions_delete
Permanently delete an OpenClaw session by providing its session ID or composite key. Confirm before calling as this action is irreversible.
Instructions
Delete a session permanently. Wraps sessions.delete. Destructive — confirm before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. Most session.* methods accept the `sessionId` (UUID); a few accept the composite `key` (e.g. 'agent:main:cron:<id>'). When unsure, try the UUID first; if rejected with NOT_FOUND, retry with the key from openclaw_sessions_list. | |
| 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. |