x402node_text_diff
Compare two texts and identify added, removed, and unchanged segments. Supports line, word, or character granularity.
Instructions
Text diff / text comparison / diff two strings / line diff / word diff / character diff / file diff / text patch / unified diff format / compare strings / git diff style / text difference. Compare two texts, return added/removed/unchanged segments. Line, word, or char granularity.
Price: unknown on Base (auto-paid in USDC).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"a": "<a>",
"b": "<b>"
},
"name": "x402node_text_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Original text (required) | |
| b | Yes | Modified text (required) | |
| mode | No | line|word|char (optional, default 'line') |