ToolModelOutputCall
Namespace: Vercel.AI.Prompt
public sealed class ToolModelOutputCallArguments passed to toModelOutput.
Inheritance: object
Constructors
Section titled “Constructors”ToolModelOutputCall(string, JsonElement?, object?)
Section titled “ToolModelOutputCall(string, JsonElement?, object?)”public ToolModelOutputCall(string toolCallId, JsonElement? input, object? output)Creates the call.
Parameters
| Name | Type | Description |
|---|---|---|
toolCallId |
string | |
input |
JsonElement? | |
output |
object |
Properties
Section titled “Properties”public JsonElement? Input { get; }Tool input.
Value: JsonElement?
Output
Section titled “Output”public object? Output { get; }Tool output.
Value: object
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; }Tool call id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product