chrome_eval
Evaluate JavaScript in the selected browser tab for inspection or panel automation.
Instructions
Evaluate JavaScript in the selected tab. Use for small, explicit inspection or panel automation snippets.
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 |
|---|---|---|---|
| tabId | No | ||
| waitMs | No | ||
| debugUrl | No | http://127.0.0.1:9222 | |
| expression | Yes | ||
| urlContains | No | ||
| titleContains | No |