Remove Duplicate Lines
remove_duplicate_linesRemove duplicate lines while keeping the first occurrence and the original order. Case sensitive and trim whitespace are on by default, matching the website tool. Empty lines are deduplicated when trimming is on. No API token.
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": {
"text": "<text>"
},
"name": "remove_duplicate_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text with one entry per line, up to 100,000 characters. | |
| caseSensitive | No | When false, Apple and apple are the same line. | |
| trimWhitespace | No | Trim each line before comparing. |