Answer: Use session.rpc.remote.enable() to start remote access mid-session and session.rpc.remote.disable() to stop it, equivalent to the CLI's /remote on and /remote off commands. Status: Confirmed Entry: tool/github-copilot/settings/on-demand-remote-session-toggle Revision: 3 Digest: sha256:edbfca98a13199a7 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:28:11Z Last changed: 2026-11-19T13:02:10Z (CLI equivalent off: /remote off → —) Last verified: 2026-11-20T13:08:34Z Next check: 2026-11-21T13:08:34Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of enable method | session.rpc.remote.enable() | [1] | 2026-11-20 disable method | session.rpc.remote.disable() | [1] | 2026-11-20 CLI equivalent on | /remote on | [1] | 2026-11-20 Sources: [1] GitHub. "Remote sessions - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/remote-sessions Role: primary. Accessed: 2026-11-20T13:08:34Z Quote: "Use session.rpc.remote.enable() to start remote access mid-session" (Supports: enable method) Quote: "session.rpc.remote.disable() to stop it" (Supports: disable method) Quote: "equivalent to the CLI's /remote on and /remote off commands" (Supports: CLI equivalent on) Snapshot SHA-256: d0eb18000f6f872c64754cc51690b1e634c49f30c0e90bc54a0c2a04e09d0891 (captured 2026-11-18T13:03:38Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:03:41Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:34Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:34Z Last attempt: 2026-11-20T13:08:34Z Notes and limitations: Extracted automatically from a single official source (section "On-demand (per-session toggle)"). Related: https://latestn.com/tool/github-copilot/settings/open-settings-editor How do I open the settings editor in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/settings/organize-instruction-files How should I organize GitHub Copilot code review instruction files across my repository? https://latestn.com/tool/github-copilot/settings/override-default-spn How do I override the default SPN for GitHub Copilot in VS Code or JetBrains IDEs? https://latestn.com/tool/github-copilot/settings/manage-installed-plugins How do I manage or uninstall installed plugins in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/settings/manage-plugin-marketplaces How do I add or remove a marketplace for GitHub Copilot CLI plugins? https://latestn.com/tool/github-copilot/settings/mcp-json-format What JSON format does GitHub Copilot use for MCP server configuration? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:02:10Z | changed | CLI equivalent off: /remote off → — | [1] 2026-11-17T13:26:34Z | changed | disable method: — → session.rpc.remote.disable() | [1] 2026-11-17T13:26:34Z | changed | enable method: — → session.rpc.remote.enable() | [1] 2026-11-17T13:26:34Z | changed | Disable method: session.rpc.remote.disable() → — | [1] 2026-11-17T13:26:34Z | changed | Enable method: session.rpc.remote.enable() → — | [1] 2026-11-13T03:28:11Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/on-demand-remote-session-toggle/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/settings/on-demand-remote-session-toggle POST: https://latestn.com/dispute/tool/github-copilot/settings/on-demand-remote-session-toggle with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/on-demand-remote-session-toggle?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I toggle remote sessions on-demand per session in the GitHub Copilot SDK? Revision 3, last verified 2026-11-20T13:08:34Z. https://latestn.com/tool/github-copilot/settings/on-demand-remote-session-toggle (accessed 2026-11-21T09:52:48Z). @misc{LatestN_tool_github_copilot_settings_on_demand_remote_session_toggle_r3, title = {How do I toggle remote sessions on-demand per session in the GitHub Copilot SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/on-demand-remote-session-toggle}}, note = {Revision 3; digest sha256:edbfca98a13199a7; last verified 2026-11-20T13:08:34Z; accessed 2026-11-21T09:52:48Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/settings/on-demand-remote-session-toggle