# SubmitIntentToolResult
Source: https://docs.maelstrom-ai.co/dev/reference/realtime/interfaces/submitintenttoolresult/
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/provider-adapter.types.ts:161](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/provider-adapter.types.ts#L161)

Result of a settled `submit_intent` tool call, as `RealtimeSession` hands it to [RealtimeProviderAdapter.sendToolResult](https://docs.maelstrom-ai.co/dev/reference/realtime/interfaces/realtimeprovideradapter/#sendtoolresult). Both speak-worthy fields are carried separately rather than pre-collapsed to one string, because each transport phrases the reply differently: a speech-native provider (OpenAI) posts the whole object and lets its own model choose the wording from both, while a cascaded TTS provider (LiveKit) has no model and speaks `userMessage ?? summary` verbatim.

Keeping the fields typed here is the point of the type: renaming one is a compile error in every adapter that reads it, never a silent empty utterance.

## Properties

### ok

> `readonly` **ok**: `boolean`

Defined in: [packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:168](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/provider-adapter.types.ts#L168)

Whether the intent applied. `false` carries a user-facing `summary` explaining why (bad request, render failure, still busy). On the agent message path it reports that the agent run ended successfully, and the run’s UI changes may still be applying.

* * *

### summary?

> `readonly` `optional` **summary?**: `string`

Defined in: [packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:175](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/provider-adapter.types.ts#L175)

Structural description derived from the post-render snapshot, or a fixed sentence when an agent run ended without a reply. The fallback an adapter speaks when there is no `userMessage`. Absent only when an agent run’s reply is the whole answer.

* * *

### userMessage?

> `readonly` `optional` **userMessage?**: `string`

Defined in: [packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:181](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/realtime/src/lib/realtime-session/provider-adapter.types.ts#L181)

The engine LLM’s own conversational reply, already phrased for speech. Preferred over `summary` when present; absent (or empty/whitespace) when the engine produced no reply.
