Skip to content

ToolModelContentPart

Namespace: Vercel.AI.Prompt

public sealed class ToolModelContentPart

One content part inside a content tool output.

Inheritance: object

View source

public ToolModelContentPart(string type, string text)

Creates a text part.

Parameters

Name Type Description
type string
text string

View source

public string Text { get; }

Part text.

Value: string

View source

public string Type { get; }

Part type.

Value: string

View source

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