# Bounty Engineer Tool Contract Bridge

> Bounty Engineer Tool Contract Bridge is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Validates whether a set of candidate tool definitions are schema-compatible with a required JSON Schema contract, returning per-candidate compatibility reports and issue lists.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/tool-contract-bridge?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-tool-contract-bridge-de53dbcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_40zKJvlyle26EocdHxwAF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bounty-engineer-tool-contract-bridge-de53dbcd -d '<json body>'
```

Example prompt: Check which of these candidate tool definitions are compatible with my required schema — I have about 5 candidates and I need to know which ones pass, which ones fail, and exactly what fields are missing or extra for each.

## When to prefer this

Use this endpoint when you need to programmatically verify that candidate tool definitions conform to a required JSON Schema contract before wiring them into an agent — especially useful when screening batches of up to 60 tools from different sources. Prefer this over manual schema comparison or generic JSON validators when you need structured per-candidate issue reports with field-level diagnostics. Not suitable for proving semantic equivalence between tools, only structural/schema compatibility.

## Known failure modes

- Fewer than 1 or more than 60 candidates causes a validation error
- Malformed required_schema object causes a parse error
- Schema features outside the supported conservative JSON Schema subset may produce inaccurate compatibility results
- Network or service unavailability on the Render.com deployment returns a connection error
- Payment failure via x402 protocol blocks the request before processing

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

A JSON object containing an 'ok' flag, the mode identifier 'tool_contract_bridge', a per-candidate array with compatibility status (true/false), a list of specific issues (each with a code and path), counts of issues and properties, extra required fields, a list of compatible candidate IDs, and a limitations notice about the scope of the JSON Schema subset checked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "candidates": {
   "type": "array",
   "maxItems": 60,
   "minItems": 1
  },
  "required_schema": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "tool_contract_bridge",
  "candidates": [
   {
    "id": "reader",
    "issues": [],
    "compatible": true,
    "issue_count": 0,
    "extra_required_fields": [],
    "candidate_property_count": 1
   },
   {
    "id": "other",
    "issues": [
     {
      "code": "missing_candidate_property",
      "path": "/url"
     },
     {
      "code": "candidate_requires_extra_field",
      "path": "/query"
     }
    ],
    "compatible": false,
    "issue_count": 2,
    "extra_required_fields": [
     "query"
    ],
    "candidate_property_count": 1
   }
  ],
  "limitations": [
   "Checks a conservative supported JSON Schema subset and required-field compatibility. It does not prove semantic equivalence between tools."
  ],
  "compatible_candidates": [
   "reader"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-tool-contract-bridge-de53dbcd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
