cloak_set_proxy
Replaces the active browser proxy and recreates the context; use a persistent profile to keep state, otherwise cookies are lost when switching mid-session.
Instructions
Replace the current proxy. This recreates the BrowserContext (state is preserved if --profile-dir was used; otherwise cookies are lost).
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": "<proxy>"
},
"name": "cloak_set_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy | Yes | New proxy URL. Switching mid-session recreates the context. |