calculate_age
Exact age from a birth date: years, months, days, total days and days until the next birthday.
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": {
"birth_date": "<birth_date>"
},
"name": "calculate_age"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | YYYY-MM-DD, default today (UTC). | |
| birth_date | Yes | YYYY-MM-DD |