browser_list
Reports which browsers are open, the page each one is on, and which browser your last command acted in, so you can target the right one.
Instructions
Which of the two browsers are open, where each one is, and which one you are working in.
Answers JSON: focus, the browser your last command acted in, or "" when
none is open; note, which says how many are open and that a command
naming no browser goes to main; and browsers - each row id, url
(the page it is on) and urls (every page it holds, which is more than
one only when a site opened one). Only open browsers are listed, so every
row is one you can act on.
Starts nothing: it reports what is open, so asking is free.
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": "browser_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |