frida_java_hook_method
Hook all overloads of a Java method and collect each invocation with arguments and timestamp for dynamic analysis.
Instructions
Hook all overloads of a Java method and collect invocations.
target: process name or pid (string).
class_name: fully qualified Java class name.
method_name: method name to hook.
duration_seconds: how long to collect (default 10).
Hooks every overload. Each call is captured as {class_name, method, args: [String], timestamp}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"class_name": "<class_name>",
"method_name": "<method_name>"
},
"name": "frida_java_hook_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| class_name | Yes | ||
| method_name | Yes | ||
| duration_seconds | No | ||
| device_id | No |