text_dedup
Remove duplicate lines from text. Optionally sort results and choose whether to keep the first or last occurrence for duplicates.
Instructions
文本行去重。sort=true 时结果排序,keep_first=false 保留最后一次出现
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": "text_dedup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| text | Yes | ||
| keep_first | No |