Skip to content

Commit 84fce89

Browse files
authored
Merge pull request #15 from badmonkey7/main
fix: get_method_by_name return str instead of dict
2 parents 70970e4 + 50cb523 commit 84fce89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jadx_mcp_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async def get_selected_text() -> str:
235235
return await get_from_jadx("selected-text")
236236

237237
@mcp.tool()
238-
async def get_method_by_name(class_name: str, method_name: str) -> dict:
238+
async def get_method_by_name(class_name: str, method_name: str) -> str:
239239
"""Fetch the source code of a method from a specific class.
240240
241241
Args:

0 commit comments

Comments
 (0)