audit_undo
Undo an eligible receipt with a signed credential: direct grants apply the correction and return its receipt, while propose-only grants create a pending proposal for an approver.
Instructions
Undo an eligible receipt with your signed credential. Direct grants apply the correction immediately and return its receipt. Propose-only grants return a pending proposal for an approver. Structural changes require the owner. Retrying a receipt returns the recorded undo if it already exists.
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": {
"company": "<company>",
"receipt": "<receipt>"
},
"name": "audit_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | ||
| receipt | Yes | Receipt ID returned by `audit_receipts`. |