agentskit.js

TextPart

Auto-generated API reference for TextPart.

Interface: TextPart

Defined in: packages/core/src/types/content.ts:9

Provider-neutral multi-modal content parts. A single Message.content is a string (classic path); multi-modal messages populate parts alongside — adapters that understand parts read them, the rest fall back to content (which we keep as a text projection via partsToText).

#Properties

#text

text: string

Defined in: packages/core/src/types/content.ts:11


#type

type: "text"

Defined in: packages/core/src/types/content.ts:10

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page