openclaw_sessions_reset
Resets a session by clearing its working state while preserving the session ID. Requires confirmation as this action is destructive.
Instructions
Reset a session (clears working state, keeps session id). Wraps sessions.reset. 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. |