Codex.Items.CollabAgentToolCall (Codex SDK v0.14.0)

Copy Markdown View Source

Represents a collaboration tool call between agents.

Summary

Types

status()

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

t()

@type t() :: %Codex.Items.CollabAgentToolCall{
  agents_states: %{optional(String.t()) => Codex.Protocol.CollabAgentState.t()},
  id: String.t() | nil,
  model: String.t() | nil,
  prompt: String.t() | nil,
  reasoning_effort: String.t() | atom() | nil,
  receiver_thread_ids: [String.t()],
  sender_thread_id: String.t(),
  status: status(),
  tool: String.t(),
  tool_kind:
    :spawn_agent | :send_input | :resume_agent | :wait | :close_agent | :unknown,
  type: :collab_agent_tool_call
}