diff --git a/core/tools/definitions/searchWeb.ts b/core/tools/definitions/searchWeb.ts index e5f2844cd..c5868f3e0 100644 --- a/core/tools/definitions/searchWeb.ts +++ b/core/tools/definitions/searchWeb.ts @@ -13,9 +13,9 @@ export const searchWebTool: Tool = { "Performs a web search, returning top results. This tool should only be called for questions that require external knowledge. Common programming questions do not require web search.", parameters: { type: "object", - required: ["repo_url"], + required: ["query"], properties: { - repo_url: { + query: { type: "string", description: "The natural language search query", },