format_date
Convert a date (and optional time) from one format to another using strftime codes (%Y %m %d %B %b %A %a %H %I %M %S %p %j). Rejects impossible dates such as 31 February instead of rolling them over. (cost: 1 credit)
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": "format_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | string, required, e.g. 2026-11-07 or 07/11/2026 | |
| input_format | No | string, optional, default %Y-%m-%d | |
| output_format | No | string, required, e.g. '%A %d %B %Y' |