Leap year checker
hopi_leap_year_checkerCheck whether a year is a leap year, applying the divisible-by-4, century, and divisible-by-400 rules. Returns the verdict, the divisibility tests, and the next and previous leap years. Source: https://hopi.co.uk/leap-year-checker/
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": {
"year": "<year>"
},
"name": "hopi_leap_year_checker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | The year to check (1 to 9999) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| summary | Yes | ||
| isLeapYear | Yes | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| divisibleBy4 | Yes | ||
| nextLeapYear | Yes | ||
| divisibleBy100 | Yes | ||
| divisibleBy400 | Yes | ||
| previousLeapYear | Yes |