DatetimeServerTool - Python SDK

DatetimeServerTool method reference

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

OpenRouter built-in server tool: returns the current date and time

Fields

FieldTypeRequiredDescriptionExample
parametersOptional[components.DatetimeServerToolConfig]Configuration for the openrouter:datetime server tool{"timezone": "America/New_York"}
typecomponents.DatetimeServerToolType✔️N/A