wrave_execute_script
Run custom JavaScript directly in a browser tab to inspect or modify page state, automate interactions, and retrieve data without manual steps.
Instructions
Execute arbitrary JavaScript expression in the tab 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": {
"tab_id": "<tab_id>",
"script": "<script>"
},
"name": "wrave_execute_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript code to evaluate | |
| tab_id | Yes | The ID of the tab |