record_medication
Add a medication or supplement the user currently takes (stored immediately as approved). medication_name: brand or generic, with the strength if it has one (e.g. "Minoxidil 5%"); start_date: YYYY-MM-DD; dose_amount + dose_unit (e.g.
Instructions
Add a medication or supplement the user currently takes (stored immediately as approved). medication_name: brand or generic, with the strength if it has one (e.g. "Minoxidil 5%"); start_date: YYYY-MM-DD; dose_amount + dose_unit (e.g. 1000 + mg, 1 + ml) and times_per_day — record these whenever known, check_medication_safety uses them (e.g. total daily paracetamol); product_type: prescription (default) / otc / supplement / herbal; prescribed_for: optional reason; atc_code: optional; route: oral / topical / inhaled / injection / … Check get_medications first to avoid duplicates. Never use this to change a prescribed dose — that is for the doctor.
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_name": "<medication_name>",
"start_date": "<start_date>"
},
"name": "record_medication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | ||
| atc_code | No | ||
| dose_unit | No | ||
| start_date | Yes | ||
| dose_amount | No | ||
| product_type | No | prescription | |
| times_per_day | No | ||
| prescribed_for | No | ||
| medication_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |