ToolAssay

Merge two edited versions of a text against their common base (diff3)

Merge two edited versions of a text against their common base (diff3): non-overlapping changes are combined automatically, overlapping ones become conflicts with git-style markers, by line or by sentence. Implements the diff3 merge (Khanna, Kuber and Pierce 2007, "A Formal Investigation of Diff3"): base-ours and base-theirs are compared with Myers diffs; changed base ranges of both sides that overlap or touch form a region.

Answeringour last check, 2026-11-26
6 of 6checks answered this week
901 msmedian answer time
$0.003listed price per call
$0.003price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://text.halowerk.com/v1/three-way-text-merge

CategoryCode and developer
Provider hosttext.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.003 984 ms
2026-11-25 valid payment request 402$0.003 904 ms
2026-11-24 valid payment request 402$0.003 899 ms
2026-11-23 valid payment request 402$0.003 889 ms
2026-11-22 valid payment request 402$0.003 1573 ms
2026-11-21 valid payment request 402$0.003 876 ms

Example input (from the provider)

{
  "body": {
    "base": "a\nb\nc\n",
    "ours": "a\nB\nc\n",
    "theirs": "a\nb\nC\n"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "base": {
              "maxLength": 1000000,
              "type": "string"
            },
            "conflict_style": {
              "default": "diff3",
              "enum": [
                "diff3",
                "merge"
              ],
              "type": "string"
            },
            "labels": {
              "additionalProperties": false,
              "properties": {
                "base": {
                  "maxLength": 60,
                  "type": "string"
                },
                "ours": {
                  "maxLength": 60,
                  "type": "string"
                },
                "theirs": {
                  "maxLength": 60,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "ours": {
              "maxLength": 1000000,
              "type": "string"
            },
            "theirs": {
              "maxLength": 1000000,
              "type": "string"
            },
            "unit": {
              "default": "line",
              "enum": [
                "line",
                "sentence"
              ],
              "type": "string"
            }
          },
          "required": [
            "base",
            "ours",
            "theirs"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON