log_hatch_result
Complete a batch by logging final hatch count, calculating stats, and optionally creating a bird batch. ALWAYS ask for confirmation before writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farmId | Yes | The unique farm ID | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| hatchId | Yes | The unique hatch batch ID | |
| location | No | Optional location for bird batch (Brooder, etc. defaults to Brooder) | |
| hatchDate | No | Optional hatch date (YYYY-MM-DD) | |
| hatchedCount | Yes | Number of successfully hatched chicks (positive integer <= eggsSet) | |
| idempotencyKey | No | Unique request idempotency key | |
| createBirdBatch | No | Automatically log as an active bird batch census (defaults to false) |