InputText - TypeScript SDK

InputText type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Text input content item

Example Usage

1import { InputText } from "@openrouter/sdk/models";
2
3let value: InputText = {
4 text: "Hello, how can I help you?",
5 type: "input_text",
6};

Fields

FieldTypeRequiredDescription
textstring✔️N/A
type”input_text”✔️N/A