MingaAgent.Providers.Native.ReqLLMAdapter.ToolCall (Minga v0.1.0)

Copy Markdown View Source

Neutral tool-call payload emitted by the ReqLLM adapter.

ReqLLM streaming chunks and completed responses have provider-shaped tool-call data. This struct is the stable shape that crosses from the adapter back into MingaAgent.Providers.Native for event emission, assistant context reconstruction, and local tool execution.

Summary

Functions

Creates a neutral adapter tool-call payload.

Types

t()

@type t() :: %MingaAgent.Providers.Native.ReqLLMAdapter.ToolCall{
  arguments: map(),
  id: String.t(),
  name: String.t()
}

Functions

new(id, name, arguments)

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

Creates a neutral adapter tool-call payload.