time_format
Convert datetime values to custom formats using patterns like YYYY-MM-DD HH:mm:ss. Specify timezone and input time for precise formatting.
Instructions
Format datetime with custom pattern (e.g., YYYY-MM-DD HH:mm:ss).
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": {
"time": "<time>",
"format": "<format>"
},
"name": "time_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time to format | |
| format | Yes | Format string (e.g., YYYY-MM-DD HH:mm:ss) | |
| timezone | No | Timezone for formatting |