update_cycle
Update an existing period record: correct dates, add a missing end date, or clear an end date (resume).
"my period ended on the 9th not the 8th" -> ended_on
"actually my period started the 2nd not the 3rd" -> started_on
"I'm still on my period" -> reopen: true (clears ended_on, marks it active)
SELECTOR: exactly one; id if known, else date (the period's start date, or any date within it). date matching more than one record -> error with candidate IDs to retry with.
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": "update_cycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record ID. | |
| date | No | YYYY-MM-DD identifying the period: its start date or any day within it. | |
| reopen | No | true clears ended_on and marks the period active again. | |
| ended_on | No | New end date, YYYY-MM-DD. | |
| started_on | No | New start date, YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |