Turn whitelist-only mode on or off
set_proxy_whitelist_onlySet whether the proxy accepts connections from whitelisted addresses only. With it on and an empty or wrong whitelist, every connection is refused, including ones with the correct credential. Turning it off restores access at once. Needs a key with proxy:whitelist.
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": {
"enabled": "<enabled>"
},
"name": "set_proxy_whitelist_only"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true = whitelisted addresses only | |
| request_id | No | An id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action. |