Answer: Pass the complete set of tools this client should supply to the session's setTools method (e.g., await session.setTools([searchIssues])), which replaces the tools the client supplied when the session was created or resumed, or in an earlier replacement. Pass an empty list to remove all of this client's tools. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/replace-client-tools Revision: 2 Digest: sha256:a5e9e3979492517a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:27:48Z Last changed: 2026-11-16T12:51:51Z (unaffected tools: — → Built-in, MCP, and plugin tools, and tools that other clients connected to the same session supply, are unaffected.) Last verified: 2026-11-20T13:08:00Z Next check: 2026-11-21T13:08:00Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | setTools | [1] | 2026-11-20 behavior | It replaces the tools the client supplied when the session was created or resumed, or in an earlier replacement. | [1] | 2026-11-20 remove all tools | Pass an empty list to remove all of this client's tools. | [1] | 2026-11-20 unaffected tools | Built-in, MCP, and plugin tools, and tools that other clients connected to the same session supply, are unaffected. | [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:00Z Quote: "await session. setTools ([searchIssues]);" (Supports: method) Quote: "It replaces the tools the client supplied when the session was created or resumed, or in an earlier replacement." (Supports: behavior) Quote: "Pass an empty list to remove all of this client's tools." (Supports: remove all tools) Quote: "Built-in, MCP, and plugin tools, and tools that other clients connected to the same session supply, are unaffected." (Supports: unaffected tools) 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:02Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:00Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:00Z Last attempt: 2026-11-20T13:08:00Z Notes and limitations: Extracted automatically from a single official source (section "Replace this client's tools"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/replace-tools-during-turn Can I replace tools during a turn in the GitHub Copilot SDK? 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/register-hooks How do I register hooks in the GitHub Copilot SDK? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:51:51Z | changed | unaffected tools: — → Built-in, MCP, and plugin tools, and tools that other clients connected to the same session supply, are unaffected. | [1] 2026-11-16T12:51:51Z | changed | remove all tools: — → Pass an empty list to remove all of this client's tools. | [1] 2026-11-16T12:51:51Z | changed | behavior: — → It replaces the tools the client supplied when the session was created or resumed, or in an earlier replacement. | [1] 2026-11-16T12:51:51Z | changed | method: — → setTools | [1] 2026-11-16T12:51:51Z | changed | Rust call: session. set_tools ( vec! [search_issues]). await ?; → — | [1] 2026-11-16T12:51:51Z | changed | Java call: session.setTools(List.of(searchIssues)).get(); → — | [1] 2026-11-16T12:51:51Z | changed | .NET call: await session.SetToolsAsync([searchIssues]); → — | [1] 2026-11-16T12:51:51Z | changed | Go call: session.SetTools(ctx, []copilot.Tool{searchIssues}) → — | [1] 2026-11-16T12:51:51Z | changed | Python call: await session.set_tools([search_issues]) → — | [1] 2026-11-16T12:51:51Z | changed | TypeScript call: await session. setTools ([searchIssues]); → — | [1] 2026-11-16T12:51:51Z | changed | removal method: Pass an empty list to remove all of this client's tools → — | [1] 2026-11-16T12:51:51Z | changed | replacement method: Pass the complete set of tools this client should supply → — | [1] 2026-11-13T03:27:48Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/replace-client-tools/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-client-tools POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/replace-client-tools 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-client-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I replace this client's tools during a GitHub Copilot SDK session? Revision 2, last verified 2026-11-20T13:08:00Z. https://latestn.com/tool/github-copilot/agents-and-automation/replace-client-tools (accessed 2026-11-21T09:53:42Z). @misc{LatestN_tool_github_copilot_agents_and_automation_replace_client_tools_r2, title = {How do I replace this client's tools during a GitHub Copilot SDK session?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/replace-client-tools}}, note = {Revision 2; digest sha256:a5e9e3979492517a; last verified 2026-11-20T13:08:00Z; accessed 2026-11-21T09:53:42Z} } 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-client-tools