edge_evaluate
Runs JavaScript in the active Edge page and returns its serialized result, enabling page data extraction, DOM inspection, and scripted browser checks.
Instructions
Execute arbitrary JavaScript code within the context of the active Edge page and return the serialized result.
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": "edge_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | JavaScript code or expression to evaluate (e.g. 'document.title' or 'window.location.href') |