MingaAgent.InferenceRoute.ToolCall (minga_sdk v0.1.0)

Copy Markdown View Source

One complete tool call. arguments is a decoded map. Minga runs the call; a route never does.

This is a compile-time stub.

Summary

Types

t()

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

Functions

new(attrs)

@spec new(map() | keyword()) :: {:ok, t()} | {:error, {:invalid_tool_call, atom()}}