Due date calculator
calculate_due_dateEstimate a pregnancy due date and current stage using Naegele's rule, from the last menstrual period (LMP), conception date, or an IVF embryo-transfer date. Returns the estimated due date, weeks pregnant now, trimester and weeks remaining. Informational only, not medical advice.
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": {
"date": "<date>"
},
"name": "calculate_due_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | Reference date YYYY-MM-DD for "weeks pregnant now" (default today). | |
| date | Yes | The relevant date as YYYY-MM-DD: LMP, conception, or IVF transfer date. | |
| method | No | Dating method (default lmp). | |
| embryoAge | No | Embryo age in days at IVF transfer (commonly 3 or 5; default 5). |