Back to Fastmcp

google_genai

docs/python-sdk/fastmcp-client-sampling-handlers-google_genai.mdx

3.2.4434 B
Original Source

fastmcp.client.sampling.handlers.google_genai

Google GenAI sampling handler with tool support for FastMCP 3.0.

Classes

GoogleGenaiSamplingHandler <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/client/sampling/handlers/google_genai.py#L56" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Sampling handler that uses the Google GenAI API with tool support.