browser_evaluate
Executes a JavaScript expression in the shared page and returns its JSON value; requires enabling haiBrowser.allowEvaluate.
Instructions
Run a JavaScript expression in the shared page and return its JSON value. Disabled unless the user enables haiBrowser.allowEvaluate.
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": {
"expression": "<expression>"
},
"name": "browser_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |