find_unused_imports
Lists unused import statements in a Python repository and skips intentional re-exports marked with # noqa: F401 to identify cleanup targets.
Instructions
List unused import statements in a Python repo. Honours # noqa: F401 annotations to skip intentional re-exports.
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": {
"repo_path": "<repo_path>"
},
"name": "find_unused_imports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||