connect_to_page
Connect to a Chrome page target by its ID or matching URL pattern to enable real-time browser inspection and debugging.
Instructions
Connect to a specific Chrome page target by ID or URL pattern.
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": "connect_to_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Exact page target ID from check_connection | |
| waitForMs | No | Optional timeout to wait for a matching page target to appear | |
| urlPattern | No | URL substring to match (case-insensitive), e.g. localhost:5173 | |
| url_pattern | No | Alias for urlPattern |