medications_update_medication
Update an existing medication record by changing only the fields you provide, such as dosage, time, notes, or tags.
Instructions
Update an existing medication record. Only provided fields are changed.
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": "medications_update_medication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New medication name | |
| tags | No | New list of tag names (replaces existing tags) | |
| time | No | New time in ISO 8601 format | |
| notes | No | New notes | |
| dosage | No | New dosage amount | |
| dosage_unit | No | New dosage unit: mg, ml, tablets, drops | |
| medication_id | Yes | ID of the medication record to update | |
| next_dose_interval | No | New interval until next dose as a duration string (e.g. '04:00:00') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||