ie_attach
Attach to a chosen IE-mode tab so read and interact tools act on it without a target. Preserves the user's login and page state while enabling COM-based control.
Instructions
Attach to one of the user's IE-mode tabs (hwnd from ie_tabs) so the read and interact tools (ie_text, ie_html, ie_click, ie_fill, ie_js, ie_wait_text, ie_wait_element, ie_windows, ie_console, ie_screenshot scope=window ...) act on it without a target, over COM. The user keeps their login and page state. The tab's script instrumentation (see ie_console) is installed and stays in the tab until it is reloaded, even after ie_detach. ie_close needs ie_detach first (or force=true). Limits: no driver-only tools while attached (navigation, history, ie_wait_ready, page screenshot, upload: call ie_detach first), no proxy capture of the tab's traffic (only what the page's own instrumentation records), and a page's prompt cannot be answered (only alert and confirm windows pass the ie_dialog checks; answer a prompt yourself or ask the user). Keys, hover, window screenshots and ie_console work through COM and Win32.
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": {
"hwnd": "<hwnd>"
},
"name": "ie_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes | hwnd of the tab, from ie_tabs |