Update an animal's details
update_patientUse this when someone asks to rename an animal, correct its species or breed, or record its owner. Returns the animal's id, name, clinic and which fields changed. Not for adding a new animal.
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 name. | |
| breed | No | New breed. | |
| species | No | The species: dog, cat, rodent, bird, reptile, horse, livestock or other. | |
| clientId | No | Id of the animal's owner at its clinic, from find_client or create_client. | |
| patientId | Yes | Id of the animal, from find_patient. | |
| expectedLastEditTime | Yes | The lastEditTime from find_patient. An animal changed since then is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| patient | Yes | ||
| changedFields | Yes |