ElixirLLM.ToolCall (ElixirLLM v0.3.0)

Copy Markdown View Source

Represents a tool call requested by the model.

Contains the tool name, arguments, and a unique ID for matching with results.

Summary

Functions

Creates a new tool call.

Types

t()

@type t() :: %ElixirLLM.ToolCall{arguments: map(), id: String.t(), name: String.t()}

Functions

new(id, name, arguments)

@spec new(String.t(), String.t(), map()) :: t()

Creates a new tool call.