# `Codex.Items.McpToolCall`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/items.ex#L215)

Metadata describing a tool invocation routed through an MCP server.

# `status`

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

# `t`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
