review_python
Analyze supplied Python source for syntax errors and maintainability issues, then flag complexity against a threshold; mark complete_module only for full modules.
Instructions
Analyze supplied Python text for syntax and maintainability. Set complete_module only for a full module. Path is a label only.
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": {
"source": "<source>"
},
"name": "review_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | snippet.py | |
| source | Yes | ||
| start_line | No | ||
| complete_module | No | ||
| complexity_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||