ExBifrost.Model.ExecuteToolRequest (ex_bifrost v0.1.0)

Copy Markdown View Source

MCP tool execution request. The schema depends on the format query parameter: - format=chat or empty (default): Use ChatAssistantMessageToolCall schema - format=responses: Use ResponsesToolMessage schema

Summary

Types

t()

@type t() :: %ExBifrost.Model.ExecuteToolRequest{
  action: %{optional(String.t()) => any()} | nil,
  arguments: any() | nil,
  call_id: any() | nil,
  error: any() | nil,
  function:
    ExBifrost.Model.CreateChatCompletion200ResponseChoicesInnerDeltaToolCallsInnerFunction.t(),
  id: any() | nil,
  index: any() | nil,
  name: any(),
  output: %{optional(String.t()) => any()} | nil,
  type: any() | nil
}

Functions

decode(value)