AshAi.ToolEndEvent (ash_ai v0.2.12)

View Source

Event data passed to the on_tool_end callback passed to AshAi.setup_ash_ai/2.

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()
}