> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CloudLoadSessionOptions

> Options for and .

Options for `CloudDevin.loadSession` and `CloudDevin.attach`.

```typescript
interface CloudLoadSessionOptions extends SessionOptions
```

## Properties

**mcpServers** `McpServer[]`

**Type:** `McpServer[]`

MCP servers passed to the agent. Tool availability depends on the agent's support.

**onPermission** `PermissionHandler`

Answer this session's permission requests. Takes precedence over the
client-level `onPermission`; when neither is set, requests are rejected.

**replay** `"full" | "tail" | "none"`

How much history to replay while loading:

* `"full"`: the whole transcript, as `session/load` does. The default for
  `loadSession()`.
* `"tail"`: only the newest `tailLimit` events plus a history skeleton
  (needs the `cognition.ai/tailReplay` capability; falls back to `"full"`).
* `"none"`: join the live stream without replaying anything. The default
  for `attach()`.

**tailLimit** `number`

Dense-tail size for `replay: "tail"`; the server defaults to 300 and caps at 1000.

**tracing** `false | SessionTraceOptions`

**Type:** `false | SessionTraceOptions`

Trace attributes for this session, merged over the client's `tracing`
defaults; `false` leaves the session untraced. No effect without a
client-level `tracing` option.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.