Military (24-hour) time converter
military_time_convertConvert between military (24-hour) time and standard 12-hour AM/PM time, in either direction. Give military_time (for example 1345, 13:45 or 0800) to get the standard time, or hour_12, minute and period to get the military time. Returns the converted time in every common written form, the plain-English name for special times (midnight, noon) and the hour of the military-time chart it sits in. Use military_shift_hours instead to find how many hours run between two military times.
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": "military_time_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minute | No | The minute, 0 to 59, used with hour_12. Default 0. | |
| period | No | AM or PM, used with hour_12. | |
| hour_12 | No | The hour on a 12-hour clock, 1 to 12. Use with period (and minute). | |
| military_time | No | A military time such as 1345, 13:45, 945 or 2400 (end of day). Give this, or hour_12 with period. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | The inputs as used, with defaults filled in. | |
| results | Yes | The computed numbers. Unavailable numbers are null. | |
| summary | Yes | One or two plain sentences with the headline numbers. | |
| calculator_url | Yes | The TeamPredict calculator page that shows the same calculation, where a person can change the inputs. |