Pregnancy weeks calculator
pregnancy_weeksWork out how many weeks and days pregnant someone is, the trimester and progress through the 40 weeks, from either the LMP or the due date. Informational only, not medical advice.
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": "pregnancy_weeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lmp | No | First day of last period as YYYY-MM-DD. | |
| asOf | No | Reference date YYYY-MM-DD (default today). | |
| dueDate | No | Due date as YYYY-MM-DD (LMP is worked back as dueDate minus 280 days). |