Answer: Use the --available-tools and --excluded-tools options to restrict the set of tools the AI model is aware of and can choose from. --available-tools disables all tools other than those you specify, while --excluded-tools disables only the specified tools. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/restrict-available-tools Revision: 2 Digest: sha256:ebc62992c9bd297e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:24:30Z Last changed: 2026-11-17T13:19:21Z (Example command: — → copilot --excluded-tools= 'web_fetch, web_search') Last verified: 2026-11-20T13:02:59Z Next check: 2026-11-21T13:02:59Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Option to allowlist tools | --available-tools | [1] | 2026-11-20 Option to denylist tools | --excluded-tools | [1] | 2026-11-20 Precedence when both used | --available-tools | [1] | 2026-11-20 Example command | copilot --excluded-tools= 'web_fetch, web_search' | [1] | 2026-11-20 Sources: [1] GitHub. "Allowing and denying tool use - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/allowing-tools Role: primary. Accessed: 2026-11-20T13:02:59Z Quote: "--available-tools disables all tools other than those you specify." (Supports: Option to allowlist tools) Quote: "--excluded-tools disables only the specified tools." (Supports: Option to denylist tools) Quote: "the CLI will apply the allowlist specified by --available-tools and ignore the denylist specified by --excluded-tools" (Supports: Precedence when both used) Quote: "copilot --excluded-tools= 'web_fetch, web_search'" (Supports: Example command) Snapshot SHA-256: 703958263f3f0c60421949c2fea2792906f8e1846081691bef111d5ce814f194 (captured 2026-11-18T12:57:15Z) 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-18T12:57:17Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:59Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:59Z Last attempt: 2026-11-20T13:02:59Z Notes and limitations: Extracted automatically from a single official source (section "Restricting the choice of tools available to the AI model"). Related: https://latestn.com/tool/github-copilot/permissions-and-security/restrict-mcp-to-custom-registry How do I restrict GitHub Copilot MCP server access to a custom registry? https://latestn.com/tool/github-copilot/permissions-and-security/review-always-allowed-apps How do I review or manage always allowed applications for GitHub Copilot computer use? https://latestn.com/tool/github-copilot/permissions-and-security/review-app-before-approving How do I review a GitHub App before approving its access to my organization's Copilot? https://latestn.com/tool/github-copilot/permissions-and-security/refactoring-safety-guardrails What safety guardrails does GitHub Copilot use for large-scale refactoring? https://latestn.com/tool/github-copilot/permissions-and-security/repository-insights-access Who can view GitHub Copilot Repository insights for a repository? https://latestn.com/tool/github-copilot/permissions-and-security/reset-tool-permissions How do I reset persisted tool permissions in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T13:19:21Z | changed | Example command: — → copilot --excluded-tools= 'web_fetch, web_search' | [1] 2026-11-17T13:19:21Z | changed | Precedence when both used: — → --available-tools | [1] 2026-11-17T13:19:21Z | changed | Option to denylist tools: — → --excluded-tools | [1] 2026-11-17T13:19:21Z | changed | Option to allowlist tools: — → --available-tools | [1] 2026-11-17T13:19:21Z | changed | example command: copilot --excluded-tools= 'web_fetch, web_search' → — | [1] 2026-11-17T13:19:21Z | changed | combined behavior: --available-tools → — | [1] 2026-11-17T13:19:21Z | changed | denylist option: --excluded-tools → — | [1] 2026-11-17T13:19:21Z | changed | allowlist option: --available-tools → — | [1] 2026-11-13T03:24:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/restrict-available-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/permissions-and-security/restrict-available-tools POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/restrict-available-tools with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/restrict-available-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I restrict which tools are available to the AI model in GitHub Copilot CLI? Revision 2, last verified 2026-11-20T13:02:59Z. https://latestn.com/tool/github-copilot/permissions-and-security/restrict-available-tools (accessed 2026-11-21T10:00:33Z). @misc{LatestN_tool_github_copilot_permissions_and_security_restrict_available_tools_r2, title = {How do I restrict which tools are available to the AI model in GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/restrict-available-tools}}, note = {Revision 2; digest sha256:ebc62992c9bd297e; last verified 2026-11-20T13:02:59Z; accessed 2026-11-21T10:00:33Z} } 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/permissions-and-security/restrict-available-tools