tool_diff_text
Compare two text versions and generate a unified diff to pinpoint changes, with configurable context lines for clearer review.
Instructions
Compute a unified diff between two texts.
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": {
"text1": "<text1>",
"text2": "<text2>"
},
"name": "tool_diff_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text1 | Yes | ||
| text2 | Yes | ||
| context_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |