datetime_convert_timezone
Convert a datetime string from one timezone to another with optional source timezone specification.
Instructions
[datetime] Convert a datetime string from one timezone to another.
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_str": "<dt_str>",
"to_tz": "<to_tz>"
},
"name": "datetime_convert_timezone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dt_str | Yes | ||
| to_tz | Yes | ||
| from_tz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |