From 98eef9ba0c5c5dfa57a74af9fecea43698d0a309 Mon Sep 17 00:00:00 2001 From: shrutip90 Date: Sun, 19 Oct 2025 13:12:15 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20Update=20web=5Ffetch=20tool=20definition?= =?UTF-8?q?=20to=20instruct=20the=20model=20to=20provid=E2=80=A6=20(#11252?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/tools/web-fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/tools/web-fetch.ts b/packages/core/src/tools/web-fetch.ts index 3d631af9b1..3a865783d5 100644 --- a/packages/core/src/tools/web-fetch.ts +++ b/packages/core/src/tools/web-fetch.ts @@ -410,7 +410,7 @@ export class WebFetchTool extends BaseDeclarativeTool< properties: { prompt: { description: - 'A comprehensive prompt that includes the URL(s) (up to 20) to fetch and specific instructions on how to process their content (e.g., "Summarize https://example.com/article and extract key points from https://another.com/data"). Must contain as least one URL starting with http:// or https://.', + 'A comprehensive prompt that includes the URL(s) (up to 20) to fetch and specific instructions on how to process their content (e.g., "Summarize https://example.com/article and extract key points from https://another.com/data"). All URLs to be fetched must be valid and complete, starting with "http://" or "https://", and be fully-formed with a valid hostname (e.g., a domain name like "example.com" or an IP address). For example, "https://example.com" is valid, but "example.com" is not.', type: 'string', }, },