Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Text input content item

Example Usage

import { InputText } from "@openrouter/sdk/models";

let value: InputText = {
  text: "Hello, how can I help you?",
  type: "input_text",
};

Fields

FieldTypeRequiredDescription
textstring:heavy_check_mark:N/A
type”input_text”:heavy_check_mark:N/A