roslyn:get_base_types
Retrieve the full inheritance chain of any C# type by providing its name, returning a sequence from the type through all base types to Object.
Instructions
Get full inheritance chain BY NAME.
USAGE: get_base_types("MyService") returns: MyService → BaseService → ... → Object
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": {
"typeName": "<typeName>"
},
"name": "roslyn:get_base_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Type name |