duplicates
Identify existing duplicate implementations before adding a helper, and consolidate repeated logic. Get groups of exact, renamed, and structural duplicates, each with a canonical pick and remapping targets.
Instructions
Call before adding a helper, to check one already exists, or when consolidating repeated logic. Returns groups of duplicate implementations - exact, renamed (identifier-insensitive), and structural - each with a canonical pick to keep, the copies to remap onto it, and a confidence score.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||