Package: @effect/ai
Module: Response
Represents a failed tool call result.
Signature
export interface ToolResultFailure<Name extends string, Failure> extends BaseToolResult<Name> {
/**
* The decoded failure returned by the tool execution.
*/
readonly result: Failure
/**
* Whether or not the result of executing the tool call handler was an error.
*/
readonly isFailure: true
}
Since v1.0.0