chrome_eval
Evaluate JavaScript in the connected browser tab and retrieve the JSON result, including values from awaited promises.
Instructions
Evaluate JavaScript in the connected tab and return the JSON value. Awaits promises.
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": "chrome_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | JS expression |