roslyn:search_symbols
Search for C# symbols like types and methods by name across your solution using wildcard patterns, with filtering by kind and namespace for precise results.
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 |
|---|---|---|---|
| query | Yes | Search query - supports wildcards: * (any characters), ? (single character). Examples: 'Handler', '*Handler', 'Get*', 'I?Service'. Case-insensitive. | |
| 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. | |
| 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. | |
| offset | No | Offset for pagination (default: 0). Use pagination.nextOffset from previous response to get next page. |