calculate_age
Calculates a person's age in years based on their birth date and the current date. (cost: 1 credit)
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": "calculate_age"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| birth_date | No | string, required, date of birth in ISO format (YYYY-MM-DD), no unit, no default |