Update a pet owner's details
update_clientUse this when someone asks to change a pet owner's name, phone, email or language. Returns the owner's id, name, clinic and which fields changed; contact details are never returned. Not for changing an animal's details.
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": {
"clientId": "<clientId>",
"expectedLastEditTime": "<expectedLastEditTime>"
},
"name": "update_client"
}
}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. | |
| clientId | Yes | Id of the owner, from find_client. | |
| language | No | New language for their messages, as a code such as en or it. | |
| expectedLastEditTime | Yes | The lastEditTime from find_client. An owner changed since then is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | ||
| status | Yes | ||
| changedFields | Yes |