browse_eval_js
Evaluates a JavaScript expression in the current page and returns its JSON value, enabling extraction or verification of page data during browser automation.
Instructions
Evaluate a JavaScript expression in the page and return its JSON value.
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": "browse_eval_js"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |