ToolOutputValidationError
Defined in: tool/tool.errors.ts:17
Thrown when the value a tool’s execute returns fails its output schema.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolOutputValidationError(toolId, cause): ToolOutputValidationError;Defined in: tool/tool.errors.ts:21
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
toolId |
string |
cause |
ZodError |
Returns
Section titled “Returns”ToolOutputValidationError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”issues
Section titled “issues”readonly issues: $ZodIssue[];Defined in: tool/tool.errors.ts:19
toolId
Section titled “toolId”readonly toolId: string;Defined in: tool/tool.errors.ts:18