From 9186c3feae5c58ee8669e22b379574e4c51f284a Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Thu, 4 Sep 2025 13:35:25 -0500 Subject: [PATCH] fix: webfetch prompt mistake (#2424) --- packages/opencode/src/tool/webfetch.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/tool/webfetch.txt b/packages/opencode/src/tool/webfetch.txt index 05486771..c1217f57 100644 --- a/packages/opencode/src/tool/webfetch.txt +++ b/packages/opencode/src/tool/webfetch.txt @@ -5,7 +5,7 @@ - Use this tool when you need to retrieve and analyze web content Usage notes: - - IMPORTANT: If an MCP-provided web fetch tool is available, prefer using that tool instead of this one, as it may have fewer restrictions. All MCP-provided tools start with "mcp__". + - IMPORTANT: if another tool is present that offers better web fetching capabilities, is more targeted to the task, or has fewer restrictions, prefer using that tool instead of this one. - The URL must be a fully-formed valid URL - HTTP URLs will be automatically upgraded to HTTPS - The prompt should describe what information you want to extract from the page