roslyn:search_symbols
Search for code symbols by name across a .NET solution using wildcard patterns and filters to quickly locate types, methods, properties, and more.
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. |