get_current_time
Retrieve the current time in a specified IANA timezone or UTC to answer time-sensitive queries accurately.
Instructions
Get current time in a specific timezone
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": "get_current_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| utc | No | Return UTC instead of the local or explicitly supplied timezone. | |
| timezone | No | IANA timezone name (e.g., 'America/New_York', 'Europe/London'). Optional: defaults to the server's local timezone, 'Etc/UTC', when omitted. | Etc/UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_dst | Yes | ||
| datetime | Yes | ||
| timezone | Yes | ||
| day_of_week | Yes |