Open a Document Picture-in-Picture window
browser_picture_in_pictureOpen a floating, always-on-top mini window to keep a URL visible while using another tab; it clicks the page first to satisfy user-activation and closes with the tab.
Instructions
Open a floating always-on-top mini window showing a URL (Document Picture-in-Picture). MEASURED: requestWindow throws "requires user activation" when called cold, so this tool first performs a real click in the page to satisfy that requirement. PiP windows are per-document: closing the tab closes the window.
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_picture_in_picture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to show (default: the current page) | |
| width | No | Window width (default 320) | |
| height | No | Window height (default 240) | |
| context | No | Tab context id (default: the active tab) |