get_current_time
Retrieve current time details for any timezone, including date components and UTC offset, with output in ISO, human-readable, or relative formats.
Instructions
Get the current time in a specified timezone. Returns detailed time information including year, month, day, hour, minute, second, weekday, week of year, day of year, and UTC offset.
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 |
|---|---|---|---|
| timezone | No | IANA timezone (e.g. Asia/Shanghai, America/New_York). Defaults to UTC. | |
| format | No | Output format: iso (default), human (readable), relative (time ago from UTC) |