Current time
current-timeRetrieves the current time in a specified IANA time zone, defaulting to UTC, to provide accurate timestamps for scheduling or logging.
Instructions
Return the current time in an 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, for example Asia/Shanghai | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | ||
| timeZone | Yes | ||
| formatted | Yes |