{"ok":true,"result":{"slug":"text-diff","name":"Text Diff Checker","summary":"Compare two texts line by line (Myers diff) and return added, removed and unchanged lines, plus a unified-style text diff.","description":"Compare two versions of text or code and see exactly which lines were added, removed or unchanged, with counts. Can ignore case and whitespace. Runs in your browser.","method":"POST","endpoint":"/api/v1/tools/text-diff","plan":"free","mcpName":"text_diff","input":{"type":"object","additionalProperties":false,"properties":{"original":{"type":"string","description":"The original (old) text.","maxLength":500000},"changed":{"type":"string","description":"The changed (new) text.","maxLength":500000},"ignoreCase":{"type":"boolean","description":"Treat upper and lower case as the same.","default":false},"ignoreWhitespace":{"type":"boolean","description":"Ignore leading/trailing whitespace and treat runs of whitespace as one space.","default":false},"ops":{"type":"boolean","description":"Also return the list of operations ({ type: equal|add|remove, text, oldLine, newLine }).","default":false}},"required":["original","changed"]},"example":{"original":"apples\nbananas\ncherries","changed":"apples\nblueberries\ncherries\ndates"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/text-diff","page":"https://pithlab.com/tools/text-diff"}}