Answer: You should not replace tools during a running turn if it might still call a removed tool; instead replace tools while the session is idle, for example after the session.idle event, or abort the turn first. Replacing a tool's handler under the same name is safe during a turn. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/replace-tools-during-turn Revision: 3 Digest: sha256:c48d16a9df1aa9a4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:27:49Z Last changed: 2026-11-19T13:01:39Z (pending call behavior: — → the call can stay pending until the turn is aborted) Last verified: 2026-11-20T13:08:01Z Next check: 2026-11-21T13:08:01Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of recommendation | replace tools while the session is idle | [1] | 2026-11-20 safe action | Replacing a tool's handler under the same name is safe during a turn | [1] | 2026-11-20 idle event | session.idle | [1] | 2026-11-20 pending call behavior | the call can stay pending until the turn is aborted | [1] | 2026-11-20 Sources: [1] GitHub. "Changing tools during a session - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/changing-tools Role: primary. Accessed: 2026-11-20T13:08:01Z Quote: "replace tools while the session is idle, for example after the session.idle event, or abort the turn first" (Supports: recommendation) Quote: "Replacing a tool's handler under the same name is safe during a turn: calls dispatched after the runtime accepts the replacement use the new handler." (Supports: safe action) Quote: "for example after the session.idle event" (Supports: idle event) Quote: "the call can stay pending until the turn is aborted" (Supports: pending call behavior) Snapshot SHA-256: 3c692e896ca6aa513de53aad704b06d6943dfde09c12a9aae9e3c283570a388a (captured 2026-11-18T13:03:02Z) 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:03Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:01Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:01Z Last attempt: 2026-11-20T13:08:01Z Notes and limitations: Extracted automatically from a single official source (section "Replacing tools during a turn"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/request-agentic-code-review How do I request an agentic code review with GitHub Copilot CLI? https://latestn.com/tool/github-copilot/agents-and-automation/request-and-review-code-change How do I request and review a code change with GitHub Copilot on GitHub.com? https://latestn.com/tool/github-copilot/agents-and-automation/request-copilot-code-review How do I request a code review from GitHub Copilot on a pull request? https://latestn.com/tool/github-copilot/agents-and-automation/remote-control-capabilities What can I do remotely in a GitHub Copilot CLI session? https://latestn.com/tool/github-copilot/agents-and-automation/remote-control-cli-sessions How do I remotely control GitHub Copilot CLI sessions? https://latestn.com/tool/github-copilot/agents-and-automation/replace-client-tools How do I replace this client's tools during a GitHub Copilot SDK session? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:01:39Z | changed | pending call behavior: — → the call can stay pending until the turn is aborted | [1] 2026-11-19T13:01:39Z | changed | idle event: — → session.idle | [1] 2026-11-19T13:01:39Z | changed | safe action: — → Replacing a tool's handler under the same name is safe during a turn | [1] 2026-11-19T13:01:39Z | changed | recommendation: — → replace tools while the session is idle | [1] 2026-11-19T13:01:39Z | changed | Removed tool call behavior: the call can stay pending until the turn is aborted → — | [1] 2026-11-19T13:01:39Z | changed | Safe operation: Replacing a tool's handler under the same name is safe during a turn → — | [1] 2026-11-19T13:01:39Z | changed | Recommendation: replace tools while the session is idle → — | [1] 2026-11-17T13:25:50Z | changed | Removed tool call behavior: — → the call can stay pending until the turn is aborted | [1] 2026-11-17T13:25:50Z | changed | Safe operation: — → Replacing a tool's handler under the same name is safe during a turn | [1] 2026-11-17T13:25:50Z | changed | Pending call behavior: the call can stay pending until the turn is aborted → — | [1] 2026-11-17T13:25:50Z | changed | Handler behavior after replacement: calls dispatched after the runtime accepts the replacement use the new handler → — | [1] 2026-11-17T13:25:50Z | changed | Safe action during a turn: Replacing a tool's handler under the same name is safe during a turn → — | [1] 2026-11-13T03:27:49Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/replace-tools-during-turn/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/agents-and-automation/replace-tools-during-turn POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/replace-tools-during-turn with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/replace-tools-during-turn?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Can I replace tools during a turn in the GitHub Copilot SDK? Revision 3, last verified 2026-11-20T13:08:01Z. https://latestn.com/tool/github-copilot/agents-and-automation/replace-tools-during-turn (accessed 2026-11-21T10:00:13Z). @misc{LatestN_tool_github_copilot_agents_and_automation_replace_tools_during_turn_r3, title = {Can I replace tools during a turn in the GitHub Copilot SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/replace-tools-during-turn}}, note = {Revision 3; digest sha256:c48d16a9df1aa9a4; last verified 2026-11-20T13:08:01Z; accessed 2026-11-21T10:00:13Z} } 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/agents-and-automation/replace-tools-during-turn