Get Relative Time
relative_timeCalculates the relative time from now to a given time string.
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": {
"time": "<time>"
},
"name": "relative_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | The time to compare. Format: YYYY-MM-DD HH:mm:ss |