renef_exec
Execute Lua code in a target Android process to inspect or modify runtime state, returning print() output for immediate feedback.
Instructions
Execute Lua code in the target process and return print() output. Main tool. Examples: "print(Module.list())", "print(Memory.readString(args[0]))". Multi-line Lua is fine. See resource renef://docs/lua-api for the full API.
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": {
"lua": "<lua>"
},
"name": "renef_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lua | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |