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.
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": {
"farmId": "<farmId>",
"hatchId": "<hatchId>",
"hatchedCount": "<hatchedCount>"
},
"name": "log_hatch_result"
}
}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) |