get_duplications
Retrieve code duplications for a file to detect repeated code blocks and improve maintainability.
Instructions
Get code duplications for a file
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": {
"file_key": "<file_key>"
},
"name": "get_duplications"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_key | Yes | ||
| branch | No |