eval_js
Execute JavaScript in a Frida agent's persistent context to hook functions, inspect memory, and analyze runtime behavior during dynamic debugging.
Instructions
Evaluate JS in the resident agent's persistent context.
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": {
"session_id": "<session_id>",
"code": "<code>"
},
"name": "eval_js"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| session_id | Yes |