ToolInputValidationError
Defined in: tool/tool.errors.ts:4
Thrown when the input passed to a tool’s execute fails its input schema.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolInputValidationError(toolId, cause): ToolInputValidationError;Defined in: tool/tool.errors.ts:8
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
toolId |
string |
cause |
ZodError |
Returns
Section titled “Returns”ToolInputValidationError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”issues
Section titled “issues”readonly issues: $ZodIssue[];Defined in: tool/tool.errors.ts:6
toolId
Section titled “toolId”readonly toolId: string;Defined in: tool/tool.errors.ts:5