Run a shipment's checks again
run_checksChanges data: queues the quality checks of one shipment to run again, as the person who connected this app (the same as the Run checks button), usually within a minute. The results replace the earlier ones and can undo what people decided about them: a check someone skipped by hand comes back if it still fails, an acknowledgement lapses if the check's answer has changed, results of checks that no longer apply are removed, and an admin's ERP sign-off is cleared if the figures now need review. A run can also move a draft shipment on once its checks pass. So confirm with the user before calling it. Use it when the user asks to re-run or refresh the checks, for example after a document was corrected; a second call right after the first changes nothing more. Answers at once that the checks are queued; call list_alerts with the shipment_id a minute later to read the results. Not recorded in the organization's audit log itself, as in the app.
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": {
"shipment_id": "<shipment_id>"
},
"name": "run_checks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipment_id | Yes | A shipment id such as "shp_123", as returned by search_shipments. |