get_batch_lineage
Trace a batch's ingredient lineage by revealing merge and split history from the Bill of Materials.
Instructions
Get the Bill of Materials (BOM) lineage for a batch showing merge/split history of ingredients.
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": {
"batch_id": "<batch_id>"
},
"name": "get_batch_lineage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch/lot ID to trace |