runtime_call_function
Call any global function in the browser page by name with arguments and retrieve its return value for dynamic JavaScript analysis.
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": "runtime_call_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionName | Yes | 全局函数名 | |
| args | No | 函数参数列表 |