DatetimeServerTool - Go SDK

DatetimeServerTool type definition

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

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

Fields

FieldTypeRequiredDescriptionExample
Parameters*components.DatetimeServerToolConfigConfiguration for the openrouter:datetime server tool{"timezone": "America/New_York"}
Typecomponents.DatetimeServerToolType✔️N/A