list_methods
Extract a complete inventory of methods for a Python class, including declared, inherited, properties, class and static methods, plus class-level attributes. Provide a .py file path and class name to analyze.
Instructions
List every method of a class: declared, inherited, properties, class and static methods, plus class-level attributes.
Inherited members are only resolved for base classes defined in the same file; bases from other modules are reported as unresolved.
Args: path: Path to a .py file. type: Class name.
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>",
"type": "<type>"
},
"name": "list_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |