Codex.Items.McpToolCall (Codex SDK v0.6.0)

Copy Markdown View Source

Metadata describing a tool invocation routed through an MCP server.

Summary

Types

status()

@type status() :: :in_progress | :completed | :failed

t()

@type t() :: %Codex.Items.McpToolCall{
  arguments: map() | list() | nil,
  duration_ms: integer() | nil,
  error: map() | nil,
  id: String.t() | nil,
  result: map() | nil,
  server: String.t(),
  status: status(),
  tool: String.t(),
  type: :mcp_tool_call
}