Skip to content

ToolNotFoundError

Defined in: src/errors.ts:263

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.

  • Error
new ToolNotFoundError(toolName): ToolNotFoundError;

Defined in: src/errors.ts:272

Creates a new ToolNotFoundError.

ParameterTypeDescription
toolNamestringThe tool name that was not found

ToolNotFoundError

Error.constructor

readonly toolName: string;

Defined in: src/errors.ts:265

The tool name that was requested but not found.