js_get_function_body
Extract the complete implementation code of any JavaScript function by name, optionally limiting search to a specific script for precise reverse engineering.
Instructions
根据函数名提取完整的函数实现代码
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": "js_get_function_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionName | Yes | 函数名,如 'encrypt', 'getPassword', 'encryptByAES' | |
| scriptId | No | 限定在指定脚本中搜索 |