Skip to content

ToolModelOutputCall

Namespace: Vercel.AI.Prompt

public sealed class ToolModelOutputCall

Arguments passed to toModelOutput.

Inheritance: object

View source

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

View source

public JsonElement? Input { get; }

Tool input.

Value: JsonElement?

View source

public object? Output { get; }

Tool output.

Value: object

View source

public string ToolCallId { get; }

Tool call id.

Value: string

View source

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