Skip to content

ToolExecution.ToolStep<T>

Namespace: Vercel.AI.ProviderUtils

public sealed class ToolExecution.ToolStep<T>

One tool output.

Type parameters

Name Description
T

Inheritance: object

View source

public ToolStep(string type, T output)

Creates a step.

Parameters

Name Type Description
type string
output T

View source

public T Output { get; }

Output value.

Value: T

View source

public string Type { get; }

preliminary or final.

Value: string

View source

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