browser_execute_code
Execute JavaScript in the current browser page context to bypass complex UI components when standard interactions fail.
Instructions
Execute JavaScript code in the current browser page context. Use this when standard interactions fail due to complex UI components.
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": {
"code": "<code>"
},
"name": "browser_execute_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript code to execute in the page |