Set service policy
set_service_policyChange a service's routing mode to off, block, bypass, or proxy for a profile, with confirmation required.
Instructions
Turn a named service off, block it, bypass it, or route it through a Control D proxy location. Service rules can cover changing domain sets and override filters. Requires confirm=true.
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": {
"profile": "<profile>",
"service": "<service>",
"mode": "<mode>",
"confirm": "<confirm>"
},
"name": "set_service_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| confirm | Yes | Must be exactly true after reviewing the requested change | |
| profile | Yes | Exact profile name or profile ID | |
| service | Yes | Exact service name or service ID from list_profile_services | |
| proxyLocationId | No |