ToolModelOutput
Namespace: Vercel.AI.Prompt
public abstract class ToolModelOutputA tool result sent back to the model. Maps to ToolResultOutput.
Inheritance: object
Derived: ContentToolModelOutput, ErrorJsonToolModelOutput, ErrorTextToolModelOutput, JsonToolModelOutput, TextToolModelOutput
Constructors
Section titled “Constructors”ToolModelOutput(string)
Section titled “ToolModelOutput(string)”protected ToolModelOutput(string type)Creates an output.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string |
Properties
Section titled “Properties”public string Type { get; }Output type.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product