Due date calculator
due_date_calculatorEstimated due date by Naegele's rule (+280 days from last period, adjusted for cycle length). Runs on smart-tools.xyz.
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": {
"last_period": "<last_period>"
},
"name": "due_date_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for the source_url link (default en) | |
| last_period | Yes | First day of last menstrual period, YYYY-MM-DD | |
| cycle_length | No | Average cycle length in days (default 28) |