Over REST: no operation in the public API description does this. MCP and REST compared.
Description
Returns the current system date and time.
Returns
{
"current_datetime": "2025-10-06T12:45:00.000000"
}| Key | Type | Description |
|---|---|---|
current_datetime | str | Local system date and time in ISO format. |
Example Usage
result = await call_tool("get_current_datetime")
print(result["current_datetime"])Parameters
No parameters.
Example call
Required arguments only, with placeholder values. Your assistant fills them in from the parameters above.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ma_get_current_datetime",
"arguments": {}
}
}