create_record
Record a farm event (feeding, health, movement) and attach it to animals or groups so it shows in their history. Pass at least one animal or group UUID to save the record.
Instructions
Create a record (an event such as a feeding, health treatment, or movement) and attach it to animals and/or groups. Always pass at least one resolved animal or group UUID — a record attached to nothing will not appear in any animal's history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short name for the event. | |
| type | Yes | The kind of event. | |
| farm_id | No | The ID of the farm (optional if a default is set). | |
| group_ids | No | Group UUIDs this record applies to. | |
| animal_ids | No | Animal UUIDs this record applies to. | |
| applied_at | Yes | When the event occurred (ISO date/time). | |
| description | No | Optional description of the record. |