native_session_start
Launch an isolated native Claude Code session using the current ChatGPT conversation as the main model, with configurable read-only or write access to a specified working directory.
Instructions
Start an isolated native Claude Code session with the current ChatGPT conversation as the sole main model. subagent_policy defaults to none. All profiles may use Read, FindFiles, literal SearchText, and a network-blocked, filesystem-read-only RunCommand across the computer except protected credential/state paths. working_directory remains the command CWD and, for write profiles, the only write root. read_only never writes. When the user explicitly asks to modify the actual files in working_directory, choose direct_write; it works for Git and non-Git directories. Choose worktree_write only for an isolated copy of a clean Git repository. deepseek_explicit remains available only with worktree_write; DeepSeek never becomes the main model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Task to start in the native session. | |
| wait_seconds | No | Seconds to wait for the first pending turn, from 0 to 50. Defaults to 30. | |
| session_label | No | Optional short label for the owning ChatGPT conversation. | |
| skill_contexts | No | Optional explicit, allowlisted SKILL.md contexts selected by ChatGPT for this immutable Session. They add instructions only and cannot grant tools or change providers. | |
| idempotency_key | Yes | Stable retry id. Reusing it with different input is rejected. | |
| subagent_policy | No | Optional subagent boundary. Defaults to none. deepseek_explicit requires worktree_write; ChatGPT remains the sole main model. | |
| working_directory | Yes | Absolute command CWD and write root. Read, FindFiles, and SearchText may inspect other absolute paths across the computer except protected state/credential paths. direct_write modifies this directory in place and does not require Git. worktree_write requires the clean top level of a Git repository. | |
| capability_profile | No | Execution boundary. Defaults to read_only. If the user explicitly requested in-place changes to actual files, use direct_write, including for non-Git directories. Use worktree_write only when an isolated retained copy of a clean Git repository is desired. |
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 |