> ## 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.

# LocalSessionOptions

> Session options every ACP Devin client accepts, cloud or local.

```typescript
interface LocalSessionOptions extends SessionOptions
```

## Properties

**cwd** `string`

Working directory for this session. Defaults to the client-level `cwd`.

**mcpServers** `McpServer[]`

**Type:** `McpServer[]`

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

**model** `string | FusionModel`

**Type:** `string | FusionModel`

Model to use, e.g. `"claude-sonnet-5-medium"` (see `LocalSession.models()`), or a
Fusion model such as `Fusion({ leader: "claude-opus-5-max", sidekick: "swe-2-high" })`.

**onPermission** `PermissionHandler`

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

**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.