Skip to content

GoogleModelCapabilities

Namespace: Vercel.AI.Google

public sealed class GoogleModelCapabilities

Which Gemini request features a model id accepts.

Inheritance: object

View source

public GoogleModelCapabilities(bool supportsGemini2Tools, bool supportsFileSearch, bool usesGemini3Features)

Creates a capability set.

Parameters

Name Type Description
supportsGemini2Tools bool
supportsFileSearch bool
usesGemini3Features bool

View source

public bool SupportsFileSearch { get; }

File Search tool.

Value: bool

View source

public bool SupportsGemini2Tools { get; }

Google Search, URL context, code execution, and similar tools.

Value: bool

View source

public bool UsesGemini3Features { get; }

Gemini 3 request shape, including combined tools and thought-signature handling.

Value: bool

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product