Leap Year Checker
calculator_leap_yearGregorian leap-year check and days in year (div by 4, not 100 unless 400).
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": "calculator_leap_year"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year to check (1–9999). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| expression | Yes | ||
| days_in_year | No | ||
| is_leap_year | Yes |