fix(tools): restore static tool names to fix configuration exclusions (#11551)

This commit is contained in:
Abhi
2025-10-20 22:35:35 -04:00
committed by GitHub
parent 8aace3aff2
commit 7dd2d8f794
14 changed files with 42 additions and 14 deletions
+3 -1
View File
@@ -395,12 +395,14 @@ export class WebFetchTool extends BaseDeclarativeTool<
WebFetchToolParams,
ToolResult
> {
static readonly Name = WEB_FETCH_TOOL_NAME;
constructor(
private readonly config: Config,
messageBus?: MessageBus,
) {
super(
WEB_FETCH_TOOL_NAME,
WebFetchTool.Name,
'WebFetch',
"Processes content from URL(s), including local and private network addresses (e.g., localhost), embedded in a prompt. Include up to 20 URLs and instructions (e.g., summarize, extract specific data) directly in the 'prompt' parameter.",
Kind.Fetch,