Relative Time
relative_timeHumanize a date/time relative to now (or a given from): "2 hours ago", "in 3 days". Keyless, offline.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date": "2026-07-01T12:00:00Z"
},
"name": "relative_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The target date/time (ISO-8601 or Unix timestamp). | |
| from | No | Optional reference time (default: now). |