calculate_age
Age calculator — years/months/days between dates
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": {
"startDate": "<startDate>"
},
"name": "calculate_age"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Age on this date as YYYY-MM-DD. Default: today. | |
| startDate | Yes | Date of birth as YYYY-MM-DD, for example 1990-05-17. |