Update animal
update_animalUpdate an existing animal's profile by changing only specified fields; named details merge into existing metadata so unchanged information remains intact.
Instructions
Update an existing animal's details. Pass the fields to change as the named profile fields (name, kind, sex, breed, color, birth_date, notes); they merge into the existing metadata rather than replacing it, so changing one field keeps the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | Sex/gender, e.g. female, male, castrated male (steer/wether). | |
| kind | No | Classification word: cow, heifer, bull, steer, ram, ewe, ewe lamb, lamb, kid, etc. | |
| name | No | The animal's name or call name. | |
| breed | No | Breed or cross, e.g. "Suffolk X", "Angus". | |
| color | No | Color or markings, e.g. "white", "black white-face". | |
| notes | No | Any other standing detail (e.g. "bottle-fed", "polled"). Goes into metadata.notes. | |
| farm_id | No | The ID of the farm (optional if a default is set). | |
| metadata | No | Optional raw metadata keys to set; merges into the existing metadata over the named fields. | |
| animal_id | Yes | The UUID of the animal to update. | |
| birth_date | No | Exact date of birth as an ISO date (YYYY-MM-DD). Supply it only when the user states the date itself. If the user gives an approximate age instead, omit this field and keep that age wording in notes; never calculate or estimate a birthday from an age. On update, leave an existing birth_date and unrelated notes unchanged. | |
| inventory_status | No | Inventory status: CURRENT (default on create), UNKNOWN when current presence is unconfirmed, SOLD, DECEASED, or NOT_MANAGED when care ended without sale or death. Historical profiles remain readable. |