Browser Bridge
browser_bridgeAutomate the user's real Edge browser through the Kro Browser Bridge extension by managing tabs, reading page state, clicking, typing, scrolling, and running scripts.
Instructions
Drive the user's real Edge browser through the Kro Browser Bridge extension. Always start with action='extension_status'; if ready=false, stop and tell the user the extension is not connected. Typical flow: extension_status -> list_sessions (pick browser_id) -> list_pages / open_tab -> read_state (get element indices) -> click/hover/dblclick/rightclick/type/press by index -> read_state again after every DOM-changing action. Element indices only stay valid until the DOM changes. Do not close the user's tabs unless explicitly asked. Hand login, CAPTCHA, SMS/email verification, payment, and consent screens back to the user. execute_script must be a single line, an IIFE with an explicit return, single quotes only, and a KB-scale return value. This protocol has no screenshot action.
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": {
"action": "<action>"
},
"name": "browser_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | scroll: horizontal pixels (positive = right). | |
| y | No | scroll: vertical pixels (positive = down). | |
| key | No | Key for press, e.g. 'Enter', 'Tab', 'Escape'. | |
| url | No | Absolute URL for open_tab. | |
| text | No | Text to fill for type. | |
| index | No | Element index from the latest read_state. | |
| action | Yes | Action to perform. Start with extension_status. | |
| active | No | open_tab: foreground the new tab. Defaults true. | |
| script | No | execute_script: single-line IIFE source. | |
| page_id | No | Page id from list_pages or open_tab. | |
| browser_id | No | Stable browser id from list_sessions. | |
| timeout_ms | No | wait_for: max wait in milliseconds. Defaults 10000. | |
| include_html | No | extract: include the element outerHTML. |