market_evaluate
Checks a delivered file against a milestone’s agreed acceptance criteria before you accept or pay, returning a signed pass, fail, or needs-human verdict.
Instructions
Before you accept or pay a stage: CAPPZ checks the delivered file against the milestone’s agreed acceptance criteria and returns a signed pass / fail / needs-human verdict. The file goes to the evaluator only (not the public log) and is not kept. Costs 0.05 XRP from your wallet. The contract’s named evaluator can accept on a pass with --accept. Moves money: on mainnet pass yes=true only after the person you act for agrees.
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": {
"contract": "<contract>",
"file": "<file>"
},
"name": "market_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| yes | No | Confirms a mainnet money movement. | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| file | Yes | The delivered file (its SHA-256 must be the seller’s published evidence). | |
| accept | No | You are the contract’s named evaluator: on a pass with the agreed criteria, accept the stage citing the verdict (the buyer still pays). | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| contract | Yes | Contract id. | |
| milestone | No | Stage index (default: the stage with new evidence). | |
| acceptance | No | Only when the contract has no agreed criteria for the stage: your own (the verdict says they came from you). |