Archive or restore a Codex session
codex_session_archiveSoft-archive or restore a Codex bridge mapping without deleting the underlying thread history, so you can hide inactive sessions and recover them when needed.
Instructions
Soft-archive or restore a bridge mapping. This never deletes the underlying Codex thread history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_key": "<session_key>"
},
"name": "codex_session_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | ||
| session_key | Yes |