# `Mojentic.LLM.Tools.ToolCallOutcome`
[🔗](https://github.com/svetzal/mojentic-ex/blob/v1.5.0/lib/mojentic/llm/tools/tool_call_execution.ex#L22)

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.

# `t`

```elixir
@type t() :: %Mojentic.LLM.Tools.ToolCallOutcome{
  duration_ms: number(),
  error: term() | nil,
  id: String.t(),
  name: String.t(),
  ok?: boolean(),
  result: term() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
