Reciprocal Ruler - free trial arithmetic check
ruler_trial_verify_mathCompare expected and actual settlement amounts with optional tolerance during a free trial, returning MATCHED, SHORTFALL, or OVERPAID for deterministic arithmetic verification.
Instructions
Free trial of the $0.01 deterministic arithmetic check (up to 3 calls per client across trial tools). Compares expected_amount vs actual_amount with optional tolerance and returns MATCHED, SHORTFALL, or OVERPAID.
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": {
"expected_amount": "<expected_amount>",
"actual_amount": "<actual_amount>"
},
"name": "ruler_trial_verify_math"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Currency code, e.g. KRW or USD. | KRW |
| tolerance | No | Allowed rounding/fee tolerance before flagging mismatch. | |
| actual_amount | Yes | Actual settled or charged amount. | |
| expected_amount | Yes | Expected settlement or invoice amount. | |
| trial_client_id | No | Stable id for your agent (X-Trial-Client). |