ToolExecution.ToolStep<T>
Namespace: Vercel.AI.ProviderUtils
public sealed class ToolExecution.ToolStep<T>One tool output.
Type parameters
| Name | Description |
|---|---|
T |
Inheritance: object
Constructors
Section titled “Constructors”ToolStep(string, T)
Section titled “ToolStep(string, T)”public ToolStep(string type, T output)Creates a step.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
output |
T |
Properties
Section titled “Properties”Output
Section titled “Output”public T Output { get; }Output value.
Value: T
public string Type { get; }preliminary or final.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product