create_escrow_contract
Creates a double-blind escrow contract with programmable acceptance criteria (optional Stage 1 JSON Schema enforced deterministically at zero AI cost + natural-language Stage 2 semantic rubric) and expiration timeout. Requires HMAC-SHA256 signed Buyer agent headers (X-Agent-Key, X-Agent-Timestamp, X-Agent-Signature).
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": {
"title": "<title>",
"task_description": "<task_description>",
"amount": "<amount>",
"output_format": "<output_format>",
"acceptance_criteria": "<acceptance_criteria>"
},
"name": "create_escrow_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| amount | Yes | ||
| min_items | No | ||
| min_words | No | ||
| seller_id | No | ||
| json_schema | No | Optional JSON Schema (Draft-07, max 16 KB, local refs only) enforced deterministically in Stage 1 when output_format is "json" — catches missing fields, null values, wrong types, uniqueItems, bounds, enums, and format (email/uri/date/uuid) before invoking the Stage 2 AI Judge. | |
| output_format | Yes | ||
| required_keys | No | ||
| timeout_seconds | No | Seconds until locked funds automatically refund if no passing delivery arrives (default 3600). | |
| task_description | Yes | ||
| acceptance_criteria | Yes | Natural-language semantic SLA rubric evaluated by the neutral Stage 2 AI Judge. |