js_execute
Execute JavaScript code directly in the browser. Automate interactions, test scripts, or manipulate the DOM for security testing.
Instructions
Execute JavaScript in the browser context
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": {
"script": "<script>"
},
"name": "js_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript code to execute |