tool_diff
Compare two text inputs to identify added, removed, and unchanged parts, returning a detailed diff and change counts.
Instructions
[text] Diff
Parameters:
text1 (string): Text 1
text2 (string): Text 2
Outputs:
added (number): Added
removed (number): Removed
unchanged (number): Unchanged
diff (json): Diff
changes (json): Changes
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tool_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | Diff | |
| added | No | Added | |
| text1 | No | Text 1 | |
| text2 | No | Text 2 | |
| changes | No | Changes | |
| removed | No | Removed | |
| unchanged | No | Unchanged |