Unix timestamp converter
timestamp_converterConvert between a Unix timestamp and an ISO 8601 date (UTC). direction=to_date: epoch → date; to_timestamp: date → epoch. Runs on smart-tools.xyz.
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": {
"value": "<value>"
},
"name": "timestamp_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Epoch (seconds or ms) for to_date, or an ISO/date string for to_timestamp | |
| locale | No | Language for the source_url link (default en) | |
| direction | No | to_date: epoch → ISO; to_timestamp: date string → epoch. Auto-detected if omitted. |