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

# SamplingAdapterOptions

Defined in: [client/sampling/types.ts:15](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/sampling/types.ts#L15)

## Properties

### modelSelector?

```ts theme={null}
optional modelSelector?: ModelSelector;
```

Defined in: [client/sampling/types.ts:17](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/sampling/types.ts#L17)

Override or replace the model selection logic.

***

### onToken?

```ts theme={null}
optional onToken?: OnTokenCallback;
```

Defined in: [client/sampling/types.ts:19](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/sampling/types.ts#L19)

Fired for each streamed text token. Tool-use deltas are not surfaced.
