complexity_suggest_simplifications
Suggest specific refactoring strategies to reduce code complexity in a file or function.
Instructions
Suggest specific refactoring strategies to reduce complexity
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_path": "<file_path>"
},
"name": "complexity_suggest_simplifications"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| file_path | Yes | File with complex code to simplify | |
| function_name | No | Specific function to simplify |