ToolInputEndStreamPart
Namespace: Vercel.AI.Provider
public sealed class ToolInputEndStreamPart : LanguageModelStreamPartMarks the end of streamed tool input.
Inheritance: object → LanguageModelStreamPart
Constructors
Section titled “Constructors”ToolInputEndStreamPart(string, JsonElement?)
Section titled “ToolInputEndStreamPart(string, JsonElement?)”public ToolInputEndStreamPart(string id, JsonElement? providerMetadata = null)Creates a tool-input-end part.
Parameters
| Name | Type | Description |
|---|---|---|
id |
string | |
providerMetadata |
JsonElement? |
Properties
Section titled “Properties”public string Id { get; }Tool call id.
Value: string
ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; }Provider metadata for this tool input.
Value: JsonElement?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product