set_proxy
Set a profile's proxy, replacing the current one, or clear it with an empty string. Takes effect on next launch; run check_proxy to verify.
Instructions
Save a proxy in a profile's settings, replacing the current one; an empty string removes it. Takes effect on the next launch: a running profile keeps its old proxy until stop_profile and start_profile. Run check_proxy afterwards to see whether it works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Proxy protocol; defaults to http. Ignored when the proxy string already starts with a scheme | |
| proxy | Yes | Proxy as host:port, host:port:login:password, or scheme://login:password@host:port where scheme is http, socks4 or socks5; empty string removes the proxy | |
| profile | Yes | Profile name exactly as list_profiles returns it |