native_session_reply_and_wait
Answer one pending native session turn and wait for the next outcome, keeping a sandboxed Claude Code session moving forward.
Instructions
Submit ChatGPT's response for one exact pending native turn. ChatGPT is always the sole main model. Every profile permits bounded whole-computer Read, FindFiles, literal SearchText, and a network-blocked, filesystem-read-only RunCommand except on protected credential/state paths. direct_write permits gateway-authorized Edit, Write, and NotebookEdit only inside the selected real write root. worktree_write permits the same mutations only inside its retained managed worktree. A Session created with deepseek_explicit may additionally start, inspect, or stop one explicit DeepSeek subagent; start must be the only call in that response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional assistant text for this turn. | |
| turn_id | Yes | Pending turn id being answered. | |
| lease_id | Yes | Lease id returned by native_session_start. | |
| reply_id | Yes | Stable idempotency id for this reply. | |
| tool_calls | No | Optional gateway-authorized calls. The Session profile and fixed subagent policy decide which calls are accepted. DeepSeek start must be the sole call. Text plus all calls must stay within a 768 KiB aggregate reply budget. | |
| 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 |