Current time
current-timeRetrieve the current date and time for a specified IANA time zone, defaulting to UTC, to timestamp events or schedule tasks accurately.
Instructions
The current date and time in a given IANA time zone.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "current-time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeZone | No | IANA time zone, e.g. "Europe/Berlin" or "America/New_York" | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | ||
| local | Yes | ||
| timeZone | Yes |