effect-io-ai

Package: @effect/ai
Module: Response

Response.ToolResultSuccess

Represents a successful tool call result.

Signature

export interface ToolResultSuccess<Name extends string, Success> extends BaseToolResult<Name> {
  /**
   * The decoded success returned by the tool execution.
   */
  readonly result: Success
  /**
   * Whether or not the result of executing the tool call handler was an error.
   */
  readonly isFailure: false
}

Source

Since v1.0.0