ToolNotFoundError
Defined in: src/errors.ts:217
Error thrown when a tool cannot be found by name.
Thrown by ToolRegistry.resolve when the requested tool name doesn’t match any registered tool, even after underscore-to-hyphen normalization and case-insensitive matching.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolNotFoundError(toolName): ToolNotFoundError;Defined in: src/errors.ts:226
Creates a new ToolNotFoundError.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
toolName | string | The tool name that was not found |
Returns
Section titled “Returns”ToolNotFoundError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”toolName
Section titled “toolName”readonly toolName: string;Defined in: src/errors.ts:219
The tool name that was requested but not found.