# DeferredToolCall

A tool call that waits its turn: when a model asks for several tool calls at once and one of them needs approval, the calls after it wait here and run, in order, once that approval is decided.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `toolCallId` | `string` | The model's id for the call. |
| `functionName` | `string` | The name of the tool the model called. |
| `argumentsJson` | `string` | The arguments the model gave, as JSON text. |
| `agentId` | `uuid` | The id of the agent that made the call. |
| `agentName` | `string` | The name of the participant that made the call. |

## Example

```json
{
  "toolCallId": "...",
  "functionName": "...",
  "argumentsJson": "...",
  "agentId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "agentName": "..."
}
```

## Where it's used

- Inside [`InteractionProcess`](https://docs.maitento.com/reference/types/interaction-process.md)
- Inside [`InteractionProcessWithDetails`](https://docs.maitento.com/reference/types/interaction-process-with-details.md)
