Verify delivered work (paid via x402, $0.02)
verify_workChecks delivered work against agreed terms and returns an Ed25519-signed pass/fail outcome receipt with per-check evidence (ERC-8004 compatible). job_type 'dataset_spec/v1': artifact is an array of rows; spec may set row_schema (JSON Schema), min_rows, max_rows, unique_key, freshness {field, max_age_seconds}. job_type 'json_response/v1': artifact is a JSON body; spec may set json_schema, required_fields (JSON Pointers), value_constraints, http_status, max_size. Costs the same x402 price as POST /verify (currently $0.02 USDC on Base). Pay with a PAYMENT-SIGNATURE header on this tools/call; this server never accepts a wallet private key. Malformed input is rejected with no charge.
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": {
"job_type": "<job_type>",
"spec": "<spec>",
"artifact": "<artifact>"
},
"name": "verify_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Acceptance criteria for the job type | |
| status | No | json_response/v1 only: HTTP status the delivered response had | |
| subject | No | Optional ids of the worker/buyer agents (e.g. ERC-8004 agentId) | |
| artifact | Yes | dataset_spec/v1: array of row objects. json_response/v1: the delivered JSON body. | |
| job_type | Yes |