{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "schemaVersion": "1.0",
  "name": "Document Redline & Table Diff Edge API",
  "humanReadableId": "apikeg/doc-redline",
  "agentVersion": "1.0.0",
  "description": "Deterministic Myers redlines, numeric/date edit alerts, Word .docx Track Changes, and composite-key table diffs in milliseconds. Prevents middle-of-context LLM skimming misses on buried numeric/date edits, cuts 40-page document review payloads by 90-98% in tokens, and emits real OpenXML <w:ins>/<w:del> .docx archives without brittle Python/LibreOffice dependencies.",
  "provider": {
    "name": "API Keg",
    "url": "https://apikeg.com"
  },
  "capabilities": {
    "mcpVersion": "2025-06-18",
    "x402Version": 2,
    "streaming": false,
    "supportedMessageParts": [
      "json",
      "text"
    ]
  },
  "supportedInterfaces": [
    {
      "url": "https://doc-redline.apikeg.com/mcp",
      "protocolBinding": "MCP-STREAMABLE-HTTP",
      "protocolVersion": "2025-06-18"
    },
    {
      "url": "https://doc-redline.apikeg.com/openapi.json",
      "protocolBinding": "OPENAPI-REST",
      "protocolVersion": "3.1.0"
    },
    {
      "url": "https://doc-redline.apikeg.com/.well-known/api-catalog",
      "protocolBinding": "RFC9727-LINKSET",
      "protocolVersion": "1.0"
    }
  ],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown",
    "text/html"
  ],
  "skills": [
    {
      "id": "diff_documents",
      "name": "Redline & Audit Two Document Versions",
      "description": "Runs two-level Myers O(ND) section/paragraph and inline word-and-punctuation diffing across two document versions, returning sectionBreadcrumb-tagged hunks, CriticMarkup ({--old--}{++new++}), inline HTML (<del>/<ins>), dedicated numericAndDateChanges alerts, and optional native .docx Track Changes. Why call instead of DIY: Eliminates 95% of unchanged context tokens on multi-section specs/RFPs/SOWs, catches every altered number/currency/duration/date deterministically, and packages valid ECMA-376 .docx Track Changes ZIP archives on the edge. Pricing: $0.002 USD per document redline comparison (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "document-processing",
        "procurement-ops",
        "revops",
        "developer-tools"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.002",
        "unitDescription": "per document redline comparison"
      },
      "documentationUrl": "https://doc-redline.apikeg.com/tools/diff-documents"
    },
    {
      "id": "diff_tables",
      "name": "Compare Two Structured CSV or JSON Tables by Primary Key",
      "description": "Compares two JSON object arrays or RFC 4180 CSV strings keyed by a single or composite primaryKey, returning exact summary counts, added rows, removed rows, and cell-level modified diffs with exact decimal numericDelta. Why call instead of DIY: Avoids row-order false positives in line-based diffs and floating-point drift on price/inventory catalogs; supports composite keys like ['sku', 'region'] in <10ms. Pricing: $0.002 USD per structured table or catalog diff (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "document-processing",
        "procurement-ops",
        "revops",
        "developer-tools"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.002",
        "unitDescription": "per structured table or catalog diff"
      },
      "documentationUrl": "https://doc-redline.apikeg.com/tools/diff-tables"
    }
  ]
}