From 40d82a2b254e831124ffa6a9f3f6974d33c7fc16 Mon Sep 17 00:00:00 2001 From: pomelo-nwu Date: Fri, 31 Oct 2025 10:19:44 +0800 Subject: [PATCH] feat: add docs for web search tool --- docs/tools/web-search.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/tools/web-search.md b/docs/tools/web-search.md index b7085ea2..a2c7f6fa 100644 --- a/docs/tools/web-search.md +++ b/docs/tools/web-search.md @@ -91,6 +91,20 @@ qwen --web-search-default tavily **Important:** This configuration is deprecated and will be removed in a future version. Please migrate to the new `webSearch` configuration format shown above. The old configuration will automatically configure Tavily as a provider, but we strongly recommend updating your configuration. +## Disabling Web Search + +If you want to disable the web search functionality, you can exclude the `web_search` tool in your `settings.json`: + +```json +{ + "tools": { + "exclude": ["web_search"] + } +} +``` + +**Note:** This setting requires a restart of Qwen Code to take effect. Once disabled, the `web_search` tool will not be available to the model, even if web search providers are configured. + ## Usage Examples ### Basic search (using default provider)