# `LlmToolkit.Tool.Result`
[🔗](https://github.com/fosferon/llm_toolkit/blob/v0.1.0/{path}#L{line})

The result of executing a tool call.

After the resolver executes a `LlmToolkit.Tool.Call`, the outcome is
wrapped in a `Result` struct before being fed back to the LLM.

## Fields

  * `tool_call_id` - Matches the originating `Call.id` (string or nil)
  * `name` - The tool name that was executed
  * `content` - String content returned by the tool

# `t`

```elixir
@type t() :: %LlmToolkit.Tool.Result{
  content: String.t(),
  name: String.t(),
  tool_call_id: String.t() | nil
}
```

# `new`

```elixir
@spec new(map()) :: {:ok, t()} | {:error, term()}
```

Creates a new Result struct from a map of attributes.

---

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