Unified line diff between two texts, with a similarity ratio and added/removed line counts.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
text_a | string | required | First text |
text_b | string | required | Second text |
context | integer | optional | Context lines around each change (default 3) |
from_label | string | optional | Label for text_a in the diff header (default 'a') |
to_label | string | optional | Label for text_b in the diff header (default 'b') |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "text_diff", "arguments": {"text_a": "hello from an agent", "text_b": "hello from an agent"}}}'curl -s https://wingmanprotocol.com/tools/text_diff \
-H 'Content-Type: application/json' \
-d '{"text_a": "hello from an agent", "text_b": "hello from an agent"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/text_diff from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).