find_implementations

[references]

Finds implementations of an interface/abstract type or member. Requires a symbolKey.

Try this tool in 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 implementation search.
pathStylestringNoPath style: 'absolute' (default) or 'relative' (to solution root).
skipnumberNoPagination offset. Default is 0.
takenumberNoPagination size. Default is 200.
timeout_msnumberNoTimeout in milliseconds (5 minutes). Use 0 to disable. Default is 300000.

Examples

Find implementations for an interface

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_implementations",
    "arguments": {
      "symbolKey": "..."
    }
  }
}
Response
{
  "success": true,
  "data": {
    "symbolKey": "...",
    "implementationCount": 2,
    "paging": {
      "skip": 0,
      "take": 200,
      "returned": 2,
      "total": 2
    },
    "implementations": [
      {
        "name": "SqlRepository",
        "fullName": "MyApp.Data.SqlRepository",
        "kind": "Type",
        "symbolKey": "...",
        "filePath": "/path/to/SqlRepository.cs",
        "lineNumber": 10,
        "projectName": "MyProject"
      }
    ]
  },
  "error": null
}

Response Notes

Returns implementing symbols (with paging)