# AgentToolResultEvent
Source: https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/agenttoolresultevent/
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/protocol/src/lib/agent-wire.ts:593](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L593)

A breadcrumb that a tool call settled.

The agent loop is experimental in 0.3 and may change in any minor release.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

## Properties

### callId

> **callId**: [`CallId`](https://docs.maelstrom-ai.co/dev/reference/protocol/type-aliases/callid/)

Defined in: [packages/protocol/src/lib/agent-wire.ts:603](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L603)

Echoes the `callId` of the `tool_call` event.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### name

> **name**: `string`

Defined in: [packages/protocol/src/lib/agent-wire.ts:605](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L605)

Name of the tool that was called.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### ok

> **ok**: `boolean`

Defined in: [packages/protocol/src/lib/agent-wire.ts:607](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L607)

Whether the tool call succeeded.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### runId

> **runId**: [`RunId`](https://docs.maelstrom-ai.co/dev/reference/protocol/type-aliases/runid/)

Defined in: [packages/protocol/src/lib/agent-wire.ts:599](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L599)

The Agent Run that made the call.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### summary

> **summary**: `string`

Defined in: [packages/protocol/src/lib/agent-wire.ts:612](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L612)

Short description of the outcome, not whitespace-only and at most 200 characters. For a failed call it describes the failure.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### turnId

> **turnId**: `string`

Defined in: [packages/protocol/src/lib/agent-wire.ts:601](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L601)

The model turn that issued the call.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### type

> **type**: `"tool_result"`

Defined in: [packages/protocol/src/lib/agent-wire.ts:595](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L595)

Member discriminator.

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.

* * *

### version

> **version**: `1`

Defined in: [packages/protocol/src/lib/agent-wire.ts:597](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/agent-wire.ts#L597)

Agent wire version, always [AGENT\_WIRE\_VERSION](https://docs.maelstrom-ai.co/dev/reference/protocol/variables/agent_wire_version/).

> [!WARNING]
> Experimental
> 
> This API should not be used in production and may be trimmed from a public release.
