AshAi.ToolEndEvent (ash_ai v0.6.1)

Copy Markdown View Source

Event data passed to the on_tool_end callback used by AshAi.ToolLoop.

Contains the tool name and execution result.

Summary

Types

t()

@type t() :: %AshAi.ToolEndEvent{
  result: {:ok, String.t(), any()} | {:error, String.t()},
  tool_name: String.t()
}