tabs_activate
Activate a specific Chrome tab to bring it into focus and confirm its document is visible. Switches the active tab visibly without relying on OS-level foregrounding.
Instructions
Explicitly activate an authorized Chrome tab and verify document visibility. Visibly changes the active tab; CDP-only mode never invokes an OS foreground helper.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | REQUIRED Target ID returned by tabs_create or tabs_context | |
| workerId | No | Optional worker ownership scope to enforce before activation | |
| windowForeground | No | Foreground path. Only cdp-only is supported; no OS process/window activation is attempted. | cdp-only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | ||
| outcome | Yes | ||
| attempts | Yes | ||
| activated | Yes | ||
| pathTaken | Yes | ||
| superseded | Yes | ||
| activationSent | Yes | ||
| documentFocused | Yes | ||
| requestSequence | Yes | ||
| visibilityState | Yes | ||
| verificationError | No | ||
| windowForegroundAttempted | Yes |