# `Mojentic.LLM.ToolCall`
[🔗](https://github.com/svetzal/mojentic-ex/blob/v1.5.0/lib/mojentic/llm/tool_call.ex#L1)

Represents a tool call from an LLM.

Tool calls contain the tool name, arguments, and optionally an ID
for tracking purposes.

## Examples

    iex> %ToolCall{name: "get_weather", arguments: %{"location" => "SF"}}
    %ToolCall{id: nil, name: "get_weather", arguments: %{"location" => "SF"}}

# `t`

```elixir
@type t() :: %Mojentic.LLM.ToolCall{
  arguments: map(),
  id: String.t() | nil,
  name: String.t()
}
```

---

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