# `LlmCall.ToolResult`
[🔗](https://github.com/gilbertwong96/llm_call/blob/main/lib/llm_call/tool_result.ex#L1)

The result of a tool call, ready to send back to the model.

Adapters validate the identifier they need: some protocols require `call_id`,
others (`Gemini`) require `name`. Content is text-only — no protocol carries a
non-text tool result — so a wider type would promise what validation refuses.

# `content`

```elixir
@type content() :: [LlmCall.Content.Text.t()] | String.t()
```

# `t`

```elixir
@type t() :: %LlmCall.ToolResult{
  call_id: String.t() | nil,
  content: content(),
  is_error: boolean(),
  name: String.t() | nil
}
```

---

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