---
title: "DatetimeServerTool"
---

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


## Fields

| Field                                                                                      | Type                                                                                       | Required                                                                                   | Description                                                                                | Example                                                                                    |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `parameters`                                                                               | [Optional[components.DatetimeServerToolConfig]](../components/datetimeservertoolconfig.mdx) | :heavy_minus_sign:                                                                         | Configuration for the openrouter:datetime server tool                                      | \{<br/>"timezone": "America/New_York"<br/>}                                                 |
| `type`                                                                                     | [components.DatetimeServerToolType](../components/datetimeservertooltype.mdx)               | :heavy_check_mark:                                                                         | N/A                                                                                        |                                                                                            |