Table of Contents

Class ContextUpdateTools

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A wrapper around the list of tools in a LiveClientContextUpdate. The wrapper distinguishes "no tools update" (wrapper unset) from "clear all tools" (wrapper set with an empty list).

public class ContextUpdateTools
Inheritance
ContextUpdateTools
Inherited Members
Extension Methods

Properties

Tools

The list of tools the model may use to generate the next response. May be empty to clear all tools.

[JsonPropertyName("tools")]
public Tool[]? Tools { get; set; }

Property Value

Tool[]