get_package_metrics
Retrieve aggregated metrics for a Python package to analyze code complexity and structure, supporting refactoring decisions.
Instructions
Get aggregated metrics for a Python package
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": {
"package_path": "<package_path>"
},
"name": "get_package_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | No | Name of the package (optional) | |
| package_path | Yes | Path to Python package/folder |