native_session_continue
Resume an existing Claude Code session with a new prompt while keeping its immutable capability profile and filesystem root intact. Continue the same durable session without restarting.
Instructions
Continue the same durable native Claude Code session without changing its immutable capability profile or filesystem root. ChatGPT remains the sole main model. A direct_write Session continues to address the same real directory; a worktree_write Session continues in its retained managed worktree. A Session created with deepseek_explicit may inspect or stop its explicitly started DeepSeek subagent; the subagent never takes over the main loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | New user prompt to continue the same native session. | |
| lease_id | Yes | Current lease id for the native session. | |
| wait_seconds | No | Seconds to wait for the next pending turn, from 0 to 50. Defaults to 30. | |
| idempotency_key | Yes | Stable retry id. Reusing it with different input is rejected. | |
| native_session_id | Yes | Native session id returned by native_session_start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | ||
| replay | Yes | ||
| status | Yes | ||
| fallback | Yes | ||
| lease_id | Yes | ||
| revision | Yes | ||
| terminal | No | ||
| workspace | Yes | ||
| current_run | Yes | ||
| last_result | No | ||
| launch_error | No | ||
| pending_turn | Yes | ||
| stop_request | No | ||
| session_label | Yes | ||
| deepseek_route | Yes | ||
| recovery_token | No | ||
| skill_snapshot | Yes | ||
| subagent_policy | Yes | ||
| lease_expires_at | Yes | ||
| network_boundary | Yes | ||
| runtime_attached | Yes | ||
| source_directory | Yes | ||
| claude_session_id | Yes | ||
| native_session_id | Yes | ||
| recovery_required | Yes | ||
| working_directory | Yes | ||
| capability_profile | Yes | ||
| deepseek_subsessions | Yes | ||
| active_deepseek_subsession_id | Yes |