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