Hours calculator
hours_calculatorTime worked between two clock times (handles overnight), minus a break, with optional pay. Times as HH:MM. Runs on smart-tools.xyz.
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>",
"end": "<end>"
},
"name": "hours_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End time HH:MM (24h) | |
| start | Yes | Start time HH:MM (24h) | |
| locale | No | Language for the source_url link (default en) | |
| hourly_rate | No | Optional pay rate per hour | |
| break_minutes | No | Unpaid break in minutes (default 0) |