# UserIntentReason
Source: https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/userintentreason/
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/request.ts:33](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/request.ts#L33)

Reason for triggering an engine update - user intent

## Properties

### id?

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

Defined in: [packages/protocol/src/lib/request.ts:40](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/request.ts#L40)

An id the caller assigns so a Planner verdict can name this reason. Unique within the request and never blank. Absent when the caller needs no per-reason verdict.

* * *

### intent

> `readonly` **intent**: `string`

Defined in: [packages/protocol/src/lib/request.ts:42](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/request.ts#L42)

The user’s natural language intent

* * *

### referents?

> `readonly` `optional` **referents?**: `Readonly`<`Record`<`string`, [`JsonValue`](https://docs.maelstrom-ai.co/dev/reference/protocol/type-aliases/jsonvalue/)\>>

Defined in: [packages/protocol/src/lib/request.ts:49](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/request.ts#L49)

Exact values the caller already knows, such as ids and quantities, carried to every Planner stage unchanged. A Planner decides whether to read them. They are inputs, not instructions: the Planner still chooses the Actions and their parameters. Absent means none.

* * *

### type

> `readonly` **type**: `"user_intent"`

Defined in: [packages/protocol/src/lib/request.ts:34](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/request.ts#L34)
