browser_evaluate
Execute JavaScript expressions in a target page context, including async/await, to extract DOIs, PDF/SI links, or table data as JSON-serializable results.
Instructions
Execute a JavaScript expression in the page context (supports async/await promises) and return its JSON-serializable result. Useful for extracting DOIs, PDF/SI links, or table data.
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 |
|---|---|---|---|
| tab_id | No | Target tab id. | |
| expression | Yes | JavaScript expression to evaluate. |