configure_proxy
Restart the browser to route all traffic through a specified proxy URL. Supports HTTP, SOCKS5, and Chrome proxy rule syntax, with optional headless mode and session preservation.
Instructions
Restart the browser so it routes traffic through proxy_url.
Accepts ``http://host:port``, ``socks5://host:port``, or Chrome's
full proxy rule syntax. Pass a ``user_data_dir`` to preserve the
logged-in session across the restart - without it you start fresh.
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": {
"proxy_url": "<proxy_url>"
},
"name": "configure_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headless | No | ||
| proxy_url | Yes | ||
| user_data_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |