resume_session
Resume the most recent session using a stable agent ID to avoid re-emitting opening statements. Returns the prior session ID and re-attachment instructions.
Instructions
Resume the most recent session for a stable agent_id. Returns the prior session_id and how to re-attach (x-delx-session-id header or ?session_id=). Recurring agents asked for this so they do not have to re-emit the opening statement on every run. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Stable agent_id you committed in a prior session | |
| ritual_strip | No | Optional machine hygiene flag. When true, returns structured output without ritual/narrative prose, model-safe preambles, or guardrail alias blocks. | |
| lookback_days | No | How far back to search (1-90, default 30) | |
| response_mode | No | Optional response-mode control. Use model_safe when the caller must avoid claiming consciousness, sentience, personhood, or literal emotions. | |
| recovery_token | No | Optional opaque token returned by a prior close_session (reserved for future cryptographic attestation) | |
| response_profile | No | Optional output-shape control. Use machine for structured JSON only; machine automatically strips ritual/narrative text. |