list_tabs
Discover all open tabs in a Chrome instance to obtain tab IDs for targeting other tools. Returns active tab ID and a list of tabs with URLs and labels.
Instructions
Lists all tabs currently open and registered in the specified Chrome instance. Side effects: none (read-only registry snapshot). Returns: structured JSON with 'active_tab_id', the current tab targeted by tools that omit 'tab_id', and a 'tabs' array of tab_id, label, target_id and url. When no tabs are registered, tools fall back to the instance's default single-tab connection and a 'note' explains it. Use this to discover Tab IDs before passing 'tab_id' to other tools. Alternatives: 'list_instances' to enumerate Chrome instances.
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": "list_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | No | Chrome instance id from open_instance/list_instances. Omit for the default instance. |