Skip to content

GoogleToolTurn

Namespace: Vercel.AI.Google

public sealed class GoogleToolTurn : GoogleTurn

A tool-result turn.

Inheritance: object → GoogleTurn

View source

GoogleToolTurn(IReadOnlyList<GoogleToolResultPart>)

Section titled “GoogleToolTurn(IReadOnlyList<GoogleToolResultPart>)”
public GoogleToolTurn(IReadOnlyList<GoogleToolResultPart> results)

Creates a tool turn.

Parameters

Name Type Description
results IReadOnlyList<GoogleToolResultPart>

View source

public IReadOnlyList<GoogleToolResultPart> Results { get; }

Tool results.

Value: IReadOnlyList<GoogleToolResultPart>

View source

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