{
 "name": "Mend",
 "description": "Mend repairs broken JSON (trailing commas, single quotes, comments, Python literals, code fences, truncated output), tells you exactly where invalid JSON breaks, and outlines or queries big payloads. Runs in your browser, no account.",
 "version": "1.0.0",
 "url": "https://mend.clawhard.com/a2a",
 "preferredTransport": "JSONRPC",
 "protocolVersion": "1.0",
 "supportedInterfaces": [
  {
   "url": "https://mend.clawhard.com/a2a",
   "protocolBinding": "JSONRPC",
   "protocolVersion": "1.0"
  },
  {
   "url": "https://mend.clawhard.com/a2a",
   "protocolBinding": "JSONRPC",
   "protocolVersion": "0.3"
  }
 ],
 "provider": {
  "organization": "Clawhard Studio",
  "url": "https://clawhard.com"
 },
 "iconUrl": "https://clawhard.com/icon-512.png",
 "documentationUrl": "https://mend.clawhard.com/llms.txt",
 "capabilities": {
  "streaming": false,
  "pushNotifications": false,
  "extendedAgentCard": false
 },
 "defaultInputModes": [
  "application/json",
  "text/plain"
 ],
 "defaultOutputModes": [
  "application/json",
  "text/plain"
 ],
 "skills": [
  {
   "id": "mend_repair_json",
   "name": "Repair broken or LLM-generated JSON",
   "description": "Use when JSON from an LLM, API, log, config or copy-paste fails to parse (JSON.parse error, \"Unexpected token\", \"Expecting property name\"), or the user pastes JSON with trailing commas, single quotes, unquoted keys, comments, Python True/False/None, NaN, missing commas or brackets, a ```json fence, text around it, or output that was cut off.",
   "tags": [
    "mend",
    "DeveloperApplication",
    "read-only"
   ],
   "examples": [
    "Fix this JSON, it has a trailing comma and single quotes",
    "Why does this JSON fail to parse?",
    "Pull every email out of this JSON blob"
   ],
   "inputModes": [
    "application/json",
    "text/plain"
   ],
   "outputModes": [
    "application/json",
    "text/plain"
   ]
  },
  {
   "id": "mend_check_json",
   "name": "Validate JSON and locate the exact error",
   "description": "Use when you need to know whether text is strictly valid JSON, and if not, exactly where it breaks. Strict RFC 8259 check (the same accept/reject as JSON.parse). Returns line, column, the offending line with a caret and whether Mend can repair it. Use mend_repair_json to fix it. Up to 100,000 characters.",
   "tags": [
    "mend",
    "DeveloperApplication",
    "read-only"
   ],
   "examples": [
    "Fix this JSON, it has a trailing comma and single quotes",
    "Why does this JSON fail to parse?",
    "Pull every email out of this JSON blob"
   ],
   "inputModes": [
    "application/json",
    "text/plain"
   ],
   "outputModes": [
    "application/json",
    "text/plain"
   ]
  },
  {
   "id": "mend_outline_json",
   "name": "Outline the structure of a large JSON payload",
   "description": "Use before reading a big JSON response, log or export into context: returns a compact outline of the structure (keys, types, array lengths, one example per repeated shape) so you can plan a query without spending tokens on the whole document. Repairs the JSON first if needed. Follow with mend_query_json to pull only the values you need. Up to 100,000 characters.",
   "tags": [
    "mend",
    "DeveloperApplication",
    "read-only"
   ],
   "examples": [
    "Fix this JSON, it has a trailing comma and single quotes",
    "Why does this JSON fail to parse?",
    "Pull every email out of this JSON blob"
   ],
   "inputModes": [
    "application/json",
    "text/plain"
   ],
   "outputModes": [
    "application/json",
    "text/plain"
   ]
  },
  {
   "id": "mend_query_json",
   "name": "Extract values from JSON by path",
   "description": "Use when you need specific fields from a JSON document without reading all of it: $.users[0].name, $.items[*].id, $.a.b[-1], $.list[1:3], $..email (recursive). Returns each match with its exact path, type and value. Repairs the JSON first if needed, so broken input still works. Up to 100,000 characters.",
   "tags": [
    "mend",
    "DeveloperApplication",
    "read-only"
   ],
   "examples": [
    "Fix this JSON, it has a trailing comma and single quotes",
    "Why does this JSON fail to parse?",
    "Pull every email out of this JSON blob"
   ],
   "inputModes": [
    "application/json",
    "text/plain"
   ],
   "outputModes": [
    "application/json",
    "text/plain"
   ]
  }
 ]
}