Current date and time
get_current_datetimeRetrieve the current date, time, and weekday. Specify a timezone for accurate local results.
Instructions
Get the current date, time, and weekday. Use this for questions about today, current time, current date, or weekday.
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_datetime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone name, such as Asia/Shanghai or America/New_York. Defaults to NANOMCP_TIMEZONE or Asia/Shanghai. | Asia/Shanghai |