# LoomMappingRequest

The loom one agent wakes up with in this run, in place of the one the interaction would choose. Name the loom by `id`, or by `name` (in the interaction's namespace unless you say otherwise). The interaction must have memory turned on.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `agentName` | `string` | yes | The participant's name in the interaction. Constraints: required (empty or whitespace-only strings are rejected). |
| `id` | `uuid \| null` |  | The loom's id. Give this or `name`. |
| `namespaceId` | `uuid \| null` |  | With `name`: the id of the namespace the loom is in. Not allowed with `namespaceName`. |
| `name` | `string \| null` |  | The loom's name, used when `id` is not given. Write `name@namespace` to name a loom in another namespace, or give `namespaceId` or `namespaceName`. |
| `namespaceName` | `string \| null` |  | With `name`: the name of the namespace the loom is in. Not allowed with `namespaceId`. |

## Example

```json
{
  "agentName": "...",
  "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "namespaceId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "name": "...",
  "namespaceName": "..."
}
```

## Where it's used

- Inside [`InteractionProcessStartRequest`](https://docs.maitento.com/reference/types/interaction-process-start-request.md)
