Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
OpenRouter built-in server tool: returns the current date and time

Example Usage

Fields

FieldTypeRequiredDescriptionExample
parametersmodels.DatetimeServerToolConfig:heavy_minus_sign:Configuration for the openrouter:datetime server tool{"timezone": "America/New_York"}
typemodels.DatetimeServerToolType:heavy_check_mark:N/A