Get the current time
get_timeReturns the current date and time for a specified IANA time zone, defaulting to UTC when no time zone is provided.
Instructions
Returns the current date and time in an IANA time zone, such as Europe/Berlin.
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_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA time zone name. Defaults to UTC. | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | ||
| local | Yes | ||
| timezone | Yes |