time_difference
Calculate elapsed time between a start and end date/time in seconds, minutes, hours, days, weeks, and a human-readable string, with timezone support.
Instructions
Elapsed time between two date/times in seconds, minutes, hours, days, weeks and a human 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": {
"start": "<start>"
},
"name": "time_difference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | now | |
| start | Yes | ||
| timezone | No | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||