roslyn:search_symbols
Search and filter C# symbols by name across the solution using wildcards. Supports kinds like classes and methods, with paginated results for large codebases.
Instructions
Search for types, methods, properties, etc. by name across the solution. Supports glob patterns (e.g., 'Handler' finds classes ending with 'Handler', 'Get' finds symbols starting with 'Get'). Use ? for single character wildcard. PAGINATION: Returns totalCount and hasMore. Use offset to paginate through results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional: filter by symbol kind. For types use: Class, Interface, Struct, Enum, Delegate. For members use: Method, Property, Field, Event. Other: Namespace. Case-insensitive. | |
| query | Yes | Search query - supports wildcards: * (any characters), ? (single character). Examples: 'Handler', '*Handler', 'Get*', 'I?Service'. Case-insensitive. | |
| offset | No | Offset for pagination (default: 0). Use pagination.nextOffset from previous response to get next page. | |
| maxResults | No | Maximum number of results per page (default: 50) | |
| namespaceFilter | No | Optional: filter by namespace (supports wildcards). Examples: 'MyApp.Core.*', '*.Services', 'MyApp.*.Handlers'. Case-insensitive. |