tool_datetime_convert
Convert datetime strings between timezones and formats, including Unix timestamps. Specify source and target timezone and format for accurate conversion.
Instructions
Convert a datetime between timezones/formats, including Unix timestamps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dt_string": "<dt_string>"
},
"name": "tool_datetime_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tz | No | UTC | |
| from_tz | No | UTC | |
| dt_string | Yes | ||
| to_format | No | ||
| from_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |