tksq_diff
Compare original and compressed text with a word-level diff that highlights removed and substituted content, or compress a single input first and review the changes.
Instructions
Show a word-level diff between original and compressed text. Highlights what was removed and what was substituted. Accepts either two texts to compare, or a single text that will be compressed first.
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": {
"original": "<original>"
},
"name": "tksq_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Compression level (only used if compressed is omitted) | |
| domain | No | Dictionary domain (only used if compressed is omitted) | |
| language | No | Language for compression dictionaries (only used if compressed is omitted) | |
| original | Yes | The original text | |
| compressed | No | The compressed text to compare against. If omitted, the original will be compressed automatically. |