switch_target
Changes the active debugging target to a specified page or tab by ID. Use it after listing targets to focus DevTools operations on the desired tab.
Instructions
Switch to a different target (page/tab) by its ID. Use list_targets to see available targets.
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": {
"targetId": "<targetId>"
},
"name": "switch_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | Yes | Target ID of the page/tab to switch to |