get_derived_types

[hierarchy]

Finds derived types of a base type. Requires a symbolKey.

Why this tool exists

Behavior in C# often lives behind inheritance, interfaces, overrides, and member chains.

How it helps the agent

The model can map base and derived relationships before editing contracts or investigating polymorphic behavior.

Try it locally in the GliderMCP playground

Parameters

NameTypeRequiredDescription
symbolKeystringYesOpaque symbolKey from search_symbols, resolve_symbol, get_symbol_at_position, or any tool that returns symbolKey. Not a name.
scopejsonNoOptional scope for derived type search.
skipnumberNoPagination offset. Default is 0.
takenumberNoPagination size. Default is 200.
pathStylestringNoPath style: 'absolute' (default) or 'relative' (to solution root).

Examples

Get derived types

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_derived_types",
    "arguments": {
      "symbolKey": "..."
    }
  }
}
Response
{
  "success": true,
  "data": {
    "symbolKey": "...",
    "derivedCount": 1,
    "paging": {
      "skip": 0,
      "take": 200,
      "returned": 1,
      "total": 1
    },
    "derivedTypes": [
      {
        "name": "UsersController",
        "fullName": "MyApp.Controllers.UsersController",
        "symbolKey": "...",
        "filePath": "/path/to/UsersController.cs",
        "lineNumber": 5
      }
    ]
  },
  "error": null
}

Response Notes

Returns derived types (with paging)

↑/↓ NavigateEnter OpenSpace Expand