Add an animal
create_patientUse this when someone asks to add a new animal to their vet clinic, such as a new puppy of an existing owner. Returns the animal's id, name and clinic; it is saved with its species, breed and owner. Not for adding a pet owner.
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": {
"name": "<name>",
"species": "<species>",
"clientId": "<clientId>",
"requestId": "<requestId>"
},
"name": "create_patient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The animal's name. | |
| breed | No | The breed, when the user gives one. | |
| species | Yes | The species: dog, cat, rodent, bird, reptile, horse, livestock or other. | |
| clientId | Yes | Id of the animal's owner at this clinic, from find_client or create_client. | |
| clinicId | No | Id of the clinic, from list_clinics. Leave it out when the user has one clinic. | |
| requestId | Yes | A unique id you choose for this animal, such as a UUID. Calling again with the same requestId returns the first animal rather than adding a second one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| patient | Yes |