Analyze Methods
cc_analyze_methodsAnalyzes methods in Python, JavaScript, or TypeScript files, with optional class filtering, to return parameters, visibility, and Python complexity, data-flow, and guardrail details.
Instructions
Detailed method analysis of a Python, JavaScript, or TypeScript file.
Args:
path (string): Path to a .py, .js/.jsx/.mjs/.cjs, or .ts/.tsx/.mts/.cts file
class_name (string, optional): Only methods of this class
Returns:
Methods with parameters and visibility; Python analysis also includes decorators, complexity, data flow, and BACH guardrails
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": {
"path": "<path>"
},
"name": "cc_analyze_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a supported Python, JavaScript, or TypeScript file | |
| class_name | No | Only analyze this class |