set_egress
Replace a running or paused sandbox's outbound network rules. Entries are hostnames ("*.example.com" for subdomains), IPv4 addresses or CIDRs; deny ["0.0.0.0/0"] blocks everything not allowed. The org's policy is the ceiling: rules can narrow it, never widen it. Takes effect at once and cuts open connections. Omit both lists to return to the default.
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": {
"sandbox_id": "<sandbox_id>"
},
"name": "set_egress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | ||
| allow | No | ||
| sandbox_id | Yes | sandbox id or slug |