Medical card expiration
medical_card_expirationCalculate DOT medical examiner certificate expiration from exam date and certificate period, then show days left and when to book the next exam 30 days before.
Instructions
Estimated expiry of a DOT medical examiner's certificate from the exam date and the period on the certificate, days left and when to book the next exam (30 days before). The date printed on the certificate is the one that counts.
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": {
"exam_date": "<exam_date>"
},
"name": "medical_card_expiration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| today | No | Count days left from this date, YYYY-MM-DD. Default: today (UTC). | |
| exam_date | Yes | Exam date, YYYY-MM-DD, between 2020-01-01 and 2027-12-31. | |
| certificate_months | No | Period on the certificate in months: 24 (the maximum), 12, 6, 3 or 1. |