datetime_format_dt
Convert a datetime string to a specified format using strftime patterns for consistent date/time representation.
Instructions
[datetime] Format a datetime string using a strftime format.
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>"
},
"name": "datetime_format_dt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dt_str | Yes | ||
| fmt | No | ||
| timezone | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |