The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OutputDatetimeItem } from "@openrouter/sdk/models";
let value: OutputDatetimeItem = {
datetime: "2026-03-12T14:30:00.000Z",
status: "completed",
timezone: "UTC",
type: "openrouter:datetime",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
datetime | string | :heavy_check_mark: | ISO 8601 datetime string | |
id | string | :heavy_minus_sign: | N/A | |
status | models.ToolCallStatus | :heavy_check_mark: | N/A | completed |
timezone | string | :heavy_check_mark: | IANA timezone name | |
type | models.OutputDatetimeItemType | :heavy_check_mark: | N/A |