merge_bird_batches
Consolidate multiple Live bird batches into a Target batch. Earliest hatch date across batches is inherited. Supports confirm and idempotency validation.
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>",
"targetBatchId": "<targetBatchId>",
"sourceBatchIds": "<sourceBatchIds>"
},
"name": "merge_bird_batches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional notes to append to target batch | |
| farmId | Yes | The unique farm ID | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| location | No | Optional new location for consolidated batch (defaults to target location) | |
| finalQuantity | No | Optional final consolidated quantity (defaults to sum of all batches, 1 <= finalQuantity <= sum) | |
| targetBatchId | Yes | Target Live bird batch ID receiving the merged birds | |
| idempotencyKey | No | Unique request idempotency key | |
| sourceBatchIds | Yes | Array of source Live bird batch IDs to be merged into target | |
| allowMixedVariety | No | Required set to true if source batches contain varieties different from target |