class_hierarchy
Retrieve the class hierarchy for a specified class in a Python file, showing parent and child classes.
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>",
"class_name": "<class_name>"
},
"name": "class_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| language | No | python | |
| class_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| found | Yes | ||
| class_name | Yes | ||
| subclasses | No |