{"ok":true,"service":"settle","resource":{"url":"https://settle.ronakdaya.com/x402/contract-draft","description":"Draft a Settle escrow contract JSON body from a task description.","mimeType":"application/json","serviceName":"Settle","tags":["escrow","contract-draft","x402","usdc","base","agent-tools"]},"pricing":{"required":false,"amount_usdc":0,"note":"Contract drafts are free. Payment happens when the drafted escrow is funded."},"usage":{"method":"POST","content_type":"application/json","input_schema":{"type":"object","required":[],"properties":{"task":{"type":"string","description":"What the escrow is for. Optional — requests without a task get an example draft back."},"amount_usdc":{"type":"number"},"amount_usdg":{"type":"number"},"client_wallet":{"type":"string"},"provider_wallet":{"type":"string"},"condition_type":{"type":"string","enum":["api_response","github_pr_merged","file_delivered","manual"]}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object","required":[],"properties":{"task":{"type":"string","description":"What the escrow is for. Optional — requests without a task get an example draft back."},"amount_usdc":{"type":"number"},"amount_usdg":{"type":"number"},"client_wallet":{"type":"string"},"provider_wallet":{"type":"string"},"condition_type":{"type":"string","enum":["api_response","github_pr_merged","file_delivered","manual"]},"repo":{"type":"string"},"pr":{"type":"integer"}},"additionalProperties":true}},"required":["body"],"additionalProperties":false},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ok":{"type":"boolean"},"draft":{"type":"object"},"next_steps":{"type":"array","items":{"type":"string"}},"payment":{"type":"object"}},"required":["ok","draft","next_steps"]}},"required":["example"],"additionalProperties":false}},"required":["input","output"]},"next":"POST the returned draft body to /escrow/create, then fund the contract."}