[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.
| Name | Type | Required | Description |
|---|---|---|---|
| typeName | string | Yes | The name of the interface or abstract class. Can be a simple name (e.g., 'ISolutionManager') or fully qualified (e.g., 'Glider.Interfaces.ISolutionManager'). |
| projectName | string | No | Optional project name to limit the search scope. |
Find implementations of an interface
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_implementation",
"arguments": {
"typeName": "IRepository"
}
}
}{
"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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "find_implementation",
"arguments": {
"typeName": "IService",
"projectName": "Services"
}
}
}{
"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
}Returns list of implementing types with names, paths, and line numbers
Go to Playground to test this tool interactively.