convert_timestamp
Convert between Unix timestamps and human-readable datetimes.
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": "convert_timestamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone name used for display/interpretation. Defaults to "Asia/Seoul". | Asia/Seoul |
| value | Yes | For "to_datetime", a Unix timestamp in seconds (e.g. "1752300000"). For "to_timestamp", an ISO 8601 datetime (e.g. "2026-07-12 15:30:00"). The special value "now" returns the current time in both formats. | |
| direction | No | "to_datetime" or "to_timestamp". Defaults to "to_datetime". | to_datetime |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||