Remove Duplicate Lines API - de-duplicate and sort a list
remove_duplicate_linesRemove duplicate lines (optionally ignoring case/spaces), drop blank lines, sort A-Z or Z-A, with counts. Runs on our server, files are deleted right after the call, nothing stored. Free: 25 calls/day per IP. Paid: $0.001 per call via x402 at https://radarbg.com/x402/remove-duplicate-lines.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "a\nb\na\nB"
},
"name": "remove_duplicate_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | keep, az or za | keep |
| text | Yes | The text | |
| trim | No | Ignore spaces at line ends | |
| ignoreCase | No | Apple = apple | |
| removeBlank | No | Remove empty lines |