pt_web_browser
Opens a URL in a host's desktop browser and returns the page text, warning if a previous page remains due to a failed or slow load.
Instructions
A host's Desktop > Web Browser: opens a URL (http://IP, http://name with DNS, https://...) and returns the text of the page it received. If the browser still shows its previous page (failed or slow load), the reply is ok=false with a warning, not that old page; re-opening the URL it last loaded returns the page again. timeout: up to 120 s.
In UI mode (or show=True) the window's own browser does the navigation, so the capture shows the rendered page.
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": {
"device": "<device>",
"url": "<url>"
},
"name": "pt_web_browser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| show | No | ||
| device | Yes | ||
| capture | No | ||
| timeout | No | ||
| output_dir | No | screenshots |