CouncilEx.ToolCall (CouncilEx v0.1.0)

Copy Markdown View Source

A tool-call request emitted by an LLM mid-completion.

id is the provider-supplied tool-call id (round-trip required for OpenAI's tool_call_id and Anthropic's tool_use_id). args_raw is the decoded JSON map; args_parsed is populated by the dispatcher after casting args_raw through the tool's parameters_schema/0.

Summary

Types

t()

@type t() :: %CouncilEx.ToolCall{
  args_parsed: struct() | nil,
  args_raw: map(),
  id: String.t(),
  name: String.t()
}