Get the current time
get_current_timeReturns the current local time for one city, location query, or IANA time zone. Ambiguous or unknown locations return clarification candidates. Country-name queries may resolve through a canonical city. This endpoint accepts locations rather than relative-date questions and does not perform conversions or meeting searches.
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 |
|---|---|---|---|
| city | No | City name such as "Tokyo". | |
| query | No | Free-form location query, country name, or timezone abbreviation. | |
| timezone | No | Direct IANA timezone, such as "Europe/London". | |
| _endUserId | No | Optional opaque per-call end-user attribution token populated by the MCP host, not the LLM. Accepts a non-PII hash or token, excluding raw email addresses, names, or platform user IDs. | |
| countryCode | No | Optional ISO country hint for ambiguous city names. | |
| candidateLimit | No | Page size for namesake candidates. Default 6. The response contains pagination information for additional candidates. | |
| candidateOffset | No | Number of namesake candidates to skip, as supplied by the previous response pagination. |