Table of Contents

Class InteractionAllowedTools

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Tools allowed for an MCP server or a tool choice.

public sealed class InteractionAllowedTools
Inheritance
InteractionAllowedTools
Inherited Members
Extension Methods

Properties

Mode

The tool choice mode (see InteractionToolChoiceModes).

[JsonPropertyName("mode")]
public string? Mode { get; set; }

Property Value

string

Tools

The names of the allowed tools.

[JsonPropertyName("tools")]
public List<string>? Tools { get; set; }

Property Value

List<string>