Current Time
current_timeRetrieve the current time in any IANA timezone, defaulting to UTC.
Instructions
Returns the current server time in the requested IANA timezone (e.g., 'America/New_York', 'Asia/Tokyo'). Defaults to UTC.
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 | An IANA timezone name, e.g. 'America/New_York'. Defaults to UTC. | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | ISO 8601 timestamp | |
| unix | Yes | Unix timestamp in seconds | |
| timezone | Yes | ||
| dayOfWeek | Yes | ||
| formatted | Yes |