{"ok":true,"result":{"slug":"time-duration-calculator","name":"Time Duration Calculator","summary":"Hours worked between two clock times minus a break (crossing midnight if needed), or the total of a list of durations, as h/m, H:MM and decimal hours.","description":"Work out the hours and minutes between two times, overnight shifts included, subtract breaks, add up a list of durations, and convert to decimal hours.","method":"POST","endpoint":"/api/v1/tools/time-duration-calculator","plan":"free","mcpName":"time_duration_calculator","input":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","description":"between: time from start to end minus break. sum: add up a list of durations.","default":"between","enum":["between","sum"],"maxLength":200000},"start":{"type":"string","description":"between: start time, e.g. \"09:15\" or \"9:15 am\".","maxLength":12},"end":{"type":"string","description":"between: end time; if earlier than start it is taken as the next day, e.g. \"17:45\".","maxLength":12},"break":{"type":"string","description":"between: optional unpaid break, e.g. \"30m\", \"0:30\" or \"1h 15m\".","maxLength":40},"durations":{"type":"string","description":"sum: one duration per line, e.g. \"7:30\", \"1h 15m\", \"45 min\", \"7.5h\"; prefix a line with \"-\" to subtract. A bare number is rejected (hours or minutes is ambiguous).","maxLength":50000}}},"example":{"mode":"between","start":"09:15","end":"17:45","break":"30m"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/time-duration-calculator","page":"https://pithlab.com/tools/time-duration-calculator"}}