Pack goods into a carton
pack_itemPut a quantity of one item into a named carton: a description, how many, and the per-unit weight in WHOLE GRAMS. Leave unit_grams out when it was not weighed and the carton gross comes back as a lower bound.
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": {
"packing_list": "<packing_list>",
"carton": "<carton>",
"description": "<description>",
"quantity": "<quantity>"
},
"name": "pack_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Stock code, upper-cased and stripped of spaces. Lines with a SKU are matched on it, lines without on their description | |
| note | No | ||
| carton | Yes | The carton id, e.g. C01, or its exact label | |
| quantity | Yes | How many units go into THIS carton. Split across cartons with one call each | |
| unit_grams | No | Weight of ONE unit in whole grams. Omit when not weighed; the carton is then a lower bound | |
| description | Yes | The goods going in, e.g. Oak shelf 900mm | |
| packing_list | Yes | The packing list id, e.g. PL-2026-0001, or the order reference when only one list carries it |