Interface ToolResult

All Known Implementing Classes:
ToolResult.ClientSide, ToolResult.Consult, ToolResult.Error, ToolResult.PendingApproval, ToolResult.PendingConfirmation, ToolResult.Success

Result of a tool execution — either success with output or an error.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    The tool should be executed client-side (in the browser).
    static final record 
    The current agent wants to consult a sub-agent.
    static final record 
     
    static final record 
    The tool requires user approval before execution.
    static final record 
    The tool stopped at a question only the user can answer — a form's alert, a button's prompt — and will carry on from where it stopped once they answer.
    static final record