evaluate
Execute a JavaScript expression in a Chrome tab (first tab by default), awaiting promises, and return the resulting value or error.
Instructions
Evaluate a JavaScript expression in a Chrome tab.
Uses the first page tab when tab_id is omitted. Awaits promises and
returns the value by value. Returns {"tab_id", "value", "type"} on
success, or {"error": ...} on failure or an uncaught JS exception.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| expression | Yes |