AI Agent Job Contract with Objective Acceptance Criteria · Compiler
job_contract_compileCompile an AI agent job contract with objective acceptance criteria into ARN's deterministic canonical job-contract format. Supply a goal, deliverables and one or more supported machine-checkable criteria: bounded JSON Schema, exact JSON value, required or forbidden text, or SHA-256. Paid execution rejects ambiguous and unsupported fields, canonicalizes the contract and returns a SHA-256 contract hash. It does not claim work, execute it or move funds. Pair the result with execution_proof_pack after delivery. This free MCP discovery call does not execute the advertised capability and does not charge; it returns the exact x402 endpoint, price and payment guide for execution.
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": {
"goal": "<goal>",
"deliverables": "<deliverables>",
"acceptanceCriteria": "<acceptanceCriteria>"
},
"name": "job_contract_compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Concrete outcome the worker must deliver. | |
| jobId | No | Optional external job identifier. | |
| rights | No | Declared ownership or licence arrangement; not a legal opinion. | |
| payment | No | Optional agreed amount and uppercase currency code; no payment is initiated. | |
| deadline | No | Optional ISO 8601 delivery deadline; runtime parsing fails closed. | |
| capabilities | No | Skills required to perform the work. | |
| deliverables | Yes | Named files or outputs expected from the work. | |
| acceptanceCriteria | Yes | Objective checks ARN can later perform against named artifacts. | |
| dataClassification | No | Sensitivity label applied to the job inputs and outputs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| method | Yes | HTTP method for paid execution. | |
| endpoint | Yes | Canonical absolute ARN HTTP URL to POST the same tool arguments to for paid execution. | |
| protocol | Yes | Payment protocol required by the HTTP execution endpoint. | |
| instruction | Yes | How to execute the capability after receiving the payment requirement. | |
| paymentGuide | Yes | Public setup guide with a working x402 v2 Base-mainnet client example. | |
| paymentRequired | Yes | Always true for paid ARN capabilities exposed over MCP. |