dup_find_copy_paste
Scan a project directory to detect exact or near-exact duplicate code blocks, helping you identify copy-paste snippets and reduce maintenance risks.
Instructions
Detect exact or near-exact copy-paste code across files
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": {
"directory": "<directory>"
},
"name": "dup_find_copy_paste"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory to scan |