Compare count
compare_countCompare what was scanned in a count with the stock the system expects, and save the result as lines. Run it after scans or batches change and before reading lines with list_count_lines. It reads the current stock for every scanned barcode, so it can be slow on a large count, and only one compare runs at a time per count. Returns comparedAt and the summary. It deletes lines that no longer belong to the count and clears decisions on lines that have to be recomputed, so tell the user before running it on a count that already has decisions. An applied count is read-only. Requires the stock plan feature.
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": {
"count_id": "<count_id>"
},
"name": "compare_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count_id | Yes |