find_implementation

[search]

Finds all concrete implementations of an interface or abstract class in the loaded solution. Returns type names, file paths, and line numbers for each implementation.

Parameters

NameTypeRequiredDescription
typeNamestringYesThe name of the interface or abstract class. Can be a simple name (e.g., 'ISolutionManager') or fully qualified (e.g., 'Glider.Interfaces.ISolutionManager').
projectNamestringNoOptional project name to limit the search scope.

Examples

Find implementations of an interface

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_implementation",
    "arguments": {
      "typeName": "IRepository"
    }
  }
}
Response
{
  "success": true,
  "data": {
    "baseTypeName": "ISolutionManager",
    "baseTypeKind": "Interface",
    "implementationCount": 1,
    "implementations": [
      {
        "typeName": "SolutionManager",
        "fullName": "Glider.Services.SolutionManager",
        "kind": "Class",
        "filePath": "/path/to/SolutionManager.cs",
        "lineNumber": 10,
        "projectName": "Glider"
      }
    ]
  },
  "error": null
}

Find implementations in specific project

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_implementation",
    "arguments": {
      "typeName": "IService",
      "projectName": "Services"
    }
  }
}
Response
{
  "success": true,
  "data": {
    "baseTypeName": "ISolutionManager",
    "baseTypeKind": "Interface",
    "implementationCount": 1,
    "implementations": [
      {
        "typeName": "SolutionManager",
        "fullName": "Glider.Services.SolutionManager",
        "kind": "Class",
        "filePath": "/path/to/SolutionManager.cs",
        "lineNumber": 10,
        "projectName": "Glider"
      }
    ]
  },
  "error": null
}

Response

Returns list of implementing types with names, paths, and line numbers

Go to Playground to test this tool interactively.