# DDG Agent Tool Schema Repair

> DDG Agent Tool Schema Repair is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Repairs and corrects malformed or invalid HTTP API tool schemas (input/output definitions) for AI agents, returning a fixed schema object.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/agent-tool-schema-repair?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-agent-tool-schema-repair-a7772067
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LESJ9ezaBvM-rTMyfCxSO

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 ddg-agent-tool-schema-repair-a7772067 -d '<json body>'
```

Example prompt: I have a broken agent tool schema — the input is a POST with a JSON body and the output should return {ok: true} — can you repair and normalize it so it's valid and usable?

## When to prefer this

Use this endpoint when an AI agent's tool schema (input/output definition for an HTTP tool) is malformed, invalid, or failing validation and needs programmatic repair. Prefer this over manual schema editing when operating in automated pipelines or agent orchestration systems where schema correctness must be verified at low cost ($0.02 USDC per call) via x402 payment rails.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Unsupported HTTP method (not POST, PUT, or PATCH) is rejected
- Invalid bodyType value outside allowed enum causes rejection
- Malformed or unparseable body object may cause repair failure
- Payment not completed (x402) results in 402 response before processing

## How this service works

DDG agent-payable service request

## Output

A JSON response containing the repaired and normalized tool schema object, with corrected input/output definitions and an ok status indicator confirming success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-agent-tool-schema-repair-a7772067/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
