Get the current time
get_timeRetrieves the current date and time for any IANA time zone, defaulting to UTC, so agents can timestamp events or schedule tasks accurately.
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 | The time in UTC, in ISO 8601. | |
| local | Yes | The local date and time, for people to read. | |
| timezone | Yes |