---
title: sampling
sidebarTitle: sampling
---

# `fastmcp.client.sampling`

## Functions

### `create_sampling_callback`

```python
create_sampling_callback(sampling_handler: SamplingHandler) -> SamplingFnT
```
