runtime_hook_function
Hook a JavaScript function to capture its input arguments and return values for each call, enabling analysis of encryption or other runtime logic.
Instructions
Hook指定函数,记录每次调用的参数和返回值(用于捕获加密过程的输入输出)
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": {
"functionName": "<functionName>"
},
"name": "runtime_hook_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionName | Yes | 要Hook的函数名(支持链式如 'CryptoJS.AES.encrypt') |