Create or replace a packing rule
save_box_ruleA packing rule: an order of exactly these SKUs and quantities goes in these boxes. Without id it's created; with id, replaced. auto_layout (default true) has the engine place the units so the rule is used at once; if they can't be placed the rule is still saved, with layout_problem saying why. brand null = every brand. As POST/PUT /v1/box-rules.
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": {
"name": "<name>",
"items": "<items>",
"box_ids": "<box_ids>"
},
"name": "save_box_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| note | No | ||
| brand | No | ||
| items | Yes | ||
| box_ids | Yes | ||
| enabled | No | ||
| auto_layout | No |