# InteractionProcessContextToolCall

A tool call an agent made.

**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. The call's result carries the same id. |
| `functionName` | `string` | The name of the tool called. |
| `argumentsJson` | `string` | The arguments the agent gave, as JSON text. |
| `sequence` | `integer` | The item's position in the run's conversation. Sort every item in `context` by it to read the conversation in order. |
| `author` | [`InteractionProcessContextAuthor`](https://docs.maitento.com/reference/types/interaction-process-context-author.md) | Who wrote the item. |
| `date` | `datetime` | When the item was written (UTC). |
| `threadId` | `string \| null` | The conversation thread the item is on. Null is the main thread, the conversation the participants share. Every other thread belongs to one participant: `private:<participant>` (a managed agent's private conversation with its manager), `dispatch:<participant>:<id>` (one dispatch's working) and `question:<participant>:<id>` (how a participant reached its answer to a direct question). |

## Example

```json
{
  "toolCallId": "...",
  "functionName": "...",
  "argumentsJson": "...",
  "sequence": 0,
  "author": {
    "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
    "name": "...",
    "type": "Human"
  },
  "date": "2026-10-26T12:00:00.0000000Z",
  "threadId": "..."
}
```

## Where it's used

- Inside [`InteractionProcessContext`](https://docs.maitento.com/reference/types/interaction-process-context.md)
