codex_reset
Reset the conversation session to clear chat history and stats, enabling a fresh start for a new topic.
Instructions
Reset the conversation session with Codex. Clears history and stats. Use when starting a new topic.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codex_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session key to clear; defaults to working_dir or the default session | |
| working_dir | No | Optional working directory used as implicit session key | |
| all_sessions | No | If true, clears every active session in this process |