frida_java_call
Execute arbitrary JavaScript within Java.perform() on a target process for dynamic analysis, collecting send() messages.
Instructions
Execute arbitrary JS inside a Java.perform() block.
target: process name or pid (string).
java_js_code: JavaScript code auto-wrapped in
Java.perform(function() { <your code> }).
Use Java.use(), Java.choose(), send(), etc. directly.
Returns collected send() messages.
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>",
"java_js_code": "<java_js_code>"
},
"name": "frida_java_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| java_js_code | Yes | ||
| device_id | No |