Evaluate Escrow Work
evaluate_escrow_workSubmit proof of completed work to an escrow vault. Validates on-chain evidence and auto-releases payment on approval, or returns specific reasons for rejection.
Instructions
Submit proof of completed work against an existing escrow vault.
On PASS, payment releases automatically — no EscrowFinish needed. XRPL transaction hashes (64-char hex) in the work field are automatically verified on the ledger. Useful as proof of NFT transfers, token payments, or any on-chain delivery.
Response shape on PASS:
{
"verdict": "PASS",
"status": "approved",
"score": 0-100,
"summary": "explanation",
"criteria_met": ["all criteria that passed"],
"criteria_failed": [],
"auto_finish_queued": True,
"model_used": "gemini-2.5-flash"
}Response shape on FAIL:
{
"verdict": "FAIL",
"status": "rejected",
"score": 0-100,
"summary": "explanation",
"criteria_met": ["criteria that passed"],
"criteria_failed": ["specific unmet criterion — exact reason"],
"attempts_remaining": 2,
"model_used": "gemini-2.5-flash"
}On FAIL: read criteria_failed for specific, actionable feedback. Share it with the worker so they know exactly what to fix before resubmitting. Resubmit by calling evaluate_escrow_work again with the same escrow_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work | Yes | Work submission or proof of completion. XRPL tx hashes (64-char hex) are auto-verified on the ledger. | |
| escrow_id | Yes | The receipt code provided by the buyer when creating the vault. | |
| task_category | No | Evaluation rubric. One of: default, creative, code, data, data_analysis, bug_bounty, legal, supply_chain. | default |
| evidence_links | No | Up to 3 URLs that are fetched and snapshotted at submission time as supporting evidence. | |
| require_consensus | No | Require two AI models to agree before returning PASS. Recommended for high-stakes jobs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||