stop_medication
Record that the user no longer takes a medication: medication_id from get_medications, end_date YYYY-MM-DD (default today; not in the future), stop_reason and side_effects optional (e.g.
Instructions
Record that the user no longer takes a medication: medication_id from get_medications, end_date YYYY-MM-DD (default today; not in the future), stop_reason and side_effects optional (e.g. "course finished", "doctor stopped it", "dose changed"; "rash"). It drops out of get_medications and the safety checks but stays on the timeline as medication_stop. Only when the user says it was stopped — never suggest stopping a medication. If the side effect sounds like an allergic reaction, offer record_allergy too.
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": {
"medication_id": "<medication_id>"
},
"name": "stop_medication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| stop_reason | No | ||
| side_effects | No | ||
| medication_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |