currentDateTime
Obtain the current date and time for any valid IANA timezone. Defaults to UTC if no timezone is provided. Useful for scheduling and timestamp generation.
Instructions
Get Current Date and time for timezone. if timezone is not passed default 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": "currentDateTime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | The timezone should be a valid IANA timezone name like "America/New_York" or "Asia/Kolkata" |