search_classes_by_keyword
Search decompiled Android code for classes matching a keyword, with options to filter by package and search in class names, methods, fields, code, or comments.
Instructions
Search for classes containing a specific keyword with flexible filtering options.
This tool performs a comprehensive search across decompiled Android code, allowing you to:
Search within specific packages by providing a package name
Target specific search scopes (class names, method names, fields, code content, comments)
Combine multiple search scopes for precise results
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_term | Yes | The keyword or string to search for. This is the main search query. | |
| package | No | Package name to limit the search scope. - If empty string (default), searches across all packages in the APK - If provided, only searches within classes belonging to the specified package - Example: "com.example.app" to search only in that package | |
| search_in | No | Comma-separated list of search scopes to target. Valid values: - "class": Search in class names only - "method": Search in method names only - "field": Search in field names only - "code": Search in code content (method bodies, statements, etc.) - "comment": Search in comments You can specify one or multiple scopes: - Single scope: "class" (only class names) - Multiple scopes: "class,method" (class names OR method names) - Combined: "class,method,code" (searches in all three scopes) Default: "code" (searches in code content) | code |
| offset | No | Starting index for pagination. Default: 0 | |
| count | No | Maximum number of results to return. Default: 20 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||