get_current_datetime
Retrieve the current date and time with an optional IANA timezone. Supports testing MCP compatibility.
Instructions
Get the current date and time
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 (e.g. 'America/New_York'). Defaults to local system timezone. |