get_datetime
Retrieve current date and time in configurable formats like ISO, human-readable, Unix timestamp, or components, with optional timezone offset adjustment.
Instructions
Get current date/time with configurable format.
Args:
timezone_offset: UTC offset in hours (-12 +14)
format_type: output format (iso, human, unix, components)
Returns:
Date/time in the required format
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_datetime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone_offset | No | ||
| format_type | No | iso |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||