void_event
Void event lines from a receipt to correct ingestion errors. Specify a line number or omit to void all lines for a source reference; voided rows are excluded from stock estimates.
Instructions
Correction path: void matching event lines (all lines of the receipt if line_no omitted). Voided rows are excluded from every estimate; re-inserting a corrected line for the same (source_ref, line_no) then works. Returns {voided: n}; zero matches is a no-op, not an error.
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": {
"source_ref": "<source_ref>"
},
"name": "void_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_no | No | ||
| source_ref | Yes |