Skip to content

ToolInputEndPart

Namespace: Vercel.AI

public sealed class ToolInputEndPart : TextStreamPart

The model finished streaming tool input.

Inheritance: object → TextStreamPart

View source

public ToolInputEndPart(string id, JsonElement? providerMetadata)

Creates a tool-input-end part.

Parameters

Name Type Description
id string
providerMetadata JsonElement?

View source

public string Id { get; }

Tool call id.

Value: string

View source

public JsonElement? ProviderMetadata { get; }

Provider metadata for this tool input.

Value: JsonElement?

View source

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