Get Current Time
current_timeGet the current time in UTC or any IANA timezone. Specify a timezone or let the server guess yours.
Instructions
Returns the current time in UTC and a specified or guessed IANA 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": "current_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format for the returned time string (default YYYY-MM-DD HH:mm:ss) | |
| timezone | No | IANA timezone name (e.g., "America/New_York"). Defaults to the server's guessed timezone |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| utcTime | Yes | ||
| timezone | Yes | ||
| localTime | Yes |