unix_time
Convert between a date and a Unix timestamp, in either direction. Use it when a payload carries one and the other is needed. ($0.003 per call)
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": "unix_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | a date (YYYY-MM-DD) or instant, ISO-8601 | |
| timestamp | No | a Unix timestamp in seconds |