activate_target
Brings a Chrome tab to the foreground by activating its target and raising the window, so you can focus a specific page during debugging. Defaults to the attached target.
Instructions
Make a tab the active tab and bring its Chrome window to the front (CDP Target.activateTarget). Defaults to the currently attached target. Whether the window actually comes to the front depends on the window manager.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "activate_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | Target ID of the page/tab. Defaults to the current target. |