# Type Alias TextContent

Representation of the 'TextContent' schema.

type TextContent = {
text: string;
type: "text";
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/text-content.d.ts:4

##### Index

### Properties

text
type

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

## Properties

### text

text: string

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/text-content.d.ts:6

### type

type: "text"

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/text-content.d.ts:5