Outcome of executing a single tool call.
Discriminated by :ok? — true means the tool returned a result, false means the tool returned an error tuple or raised.
:ok?
true
false
@type t() :: %Mojentic.LLM.Tools.ToolCallOutcome{ duration_ms: number(), error: term() | nil, id: String.t(), name: String.t(), ok?: boolean(), result: term() | nil }