browser_evaluate
Run JavaScript expressions in the active web page to extract DOM data. Restricted to safe read-only operations for secure evaluation.
Instructions
Execute JavaScript in the current page context and return the result. Restricted to safe DOM read operations — eval, Function, fetch, WebSocket, and document.write are blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript expression to evaluate (must not use eval, Function, import, fetch, WebSocket, or document.write) |