Update a patient's details
update_patientUse this when someone asks to change a patient's name, phone, email or language. Returns the patient's id, name, practice and which fields changed; contact details are never returned. Not for clinical records or adding a new patient.
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": {
"patientId": "<patientId>",
"expectedLastEditTime": "<expectedLastEditTime>"
},
"name": "update_patient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New full name. | |
| No | New email address. | ||
| phone | No | New mobile number, with the country code when known. | |
| language | No | New language for their messages, as a code such as en or it. | |
| patientId | Yes | Id of the patient, from find_patient. | |
| expectedLastEditTime | Yes | The lastEditTime from find_patient. A patient changed since then is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| patient | Yes | ||
| changedFields | Yes |