Delete animal
delete_animalSoft delete an animal record from a farm by animal ID, optionally specifying farm ID, to remove it from active records while preserving historical data.
Instructions
Delete (soft delete) an animal record.
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": {
"animal_id": "<animal_id>"
},
"name": "delete_animal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | The ID of the farm (optional if a default is set). | |
| animal_id | Yes | The UUID of the animal to delete. |