Skip to content

[FEATURE] refactor and enhance tools #67

@ljt270864457

Description

@ljt270864457

@zinja-coder I've recently been using the plugin for reverse engineering and found that some of our mcp-tools can be optimized.

  • search_classes_by_keyword(): Currently, this tool searches for all content containing a certain keyword. Sometimes, there are too many results, which affects the subsequent judgment of AI. So I plan to enhance its filtering function, such as restricting package names. Of course, it would be best to achieve the same global search effect as jadx, for example, only searching for class names as xxx or function names as xxx, which can improve the relevance of the search.

  • get_class_source(), get_method_by_name(): Currently, only one class or method can be queried. In the future, I plan to implement the function of batch acquisition, which can reduce the number of mcp interactions.

As I use it more frequently in the future, we can discuss which aspects can be optimized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions