Time calculator
hopi_time_calculatorAdd or subtract two durations, each given as hours and minutes. Returns the total as an H:MM clock value, as decimal hours, and as total minutes. Results can be negative when subtracting. Source: https://hopi.co.uk/time-calculator/
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hopi_time_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours1 | No | Hours of the first duration (default 0) | |
| hours2 | No | Hours of the second duration (default 0) | |
| minutes1 | No | Minutes of the first duration (default 0) | |
| minutes2 | No | Minutes of the second duration (default 0) | |
| operation | No | Add or subtract the second duration from the first (default 'add') | add |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clock | No | ||
| summary | Yes | ||
| operation | No | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| decimalHours | No | ||
| totalMinutes | No |