# ToolCalledEvent
Source: https://docs.maelstrom-ai.co/dev/reference/realtime/interfaces/toolcalledevent/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/realtime/src/lib/realtime-session/session-event-bus.ts:117](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/session-event-bus.ts#L117)

A provider tool call arrived and is about to be dispatched.

## Properties

### argumentsJson

> `readonly` **argumentsJson**: `string`

Defined in: [packages/realtime/src/lib/realtime-session/session-event-bus.ts:127](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/session-event-bus.ts#L127)

Raw JSON arguments exactly as the provider sent them; may contain user speech.

* * *

### callId

> `readonly` **callId**: `ToolCallId`

Defined in: [packages/realtime/src/lib/realtime-session/session-event-bus.ts:123](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/session-event-bus.ts#L123)

Provider correlation identity of the call.

* * *

### generation?

> `readonly` `optional` **generation?**: `number`

Defined in: [packages/realtime/src/lib/realtime-session/session-event-bus.ts:121](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/session-event-bus.ts#L121)

Session generation captured before subscriber callbacks. Absent in legacy events.

* * *

### name

> `readonly` **name**: `string`

Defined in: [packages/realtime/src/lib/realtime-session/session-event-bus.ts:125](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/session-event-bus.ts#L125)

Tool name as the provider sent it, including names the session does not know.

* * *

### type

> `readonly` **type**: `"tool.called"`

Defined in: [packages/realtime/src/lib/realtime-session/session-event-bus.ts:119](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/session-event-bus.ts#L119)

Discriminant.
