Set public address outgoing source
set_public_address_outgoing_sourceSelect an owned public address as a VPS's source for new outgoing IPv4 connections, or revert to the server's own IP when outbound traffic must appear from that address.
Instructions
Make an owned additional address the source of a server's new outgoing IPv4 connections (enabled=true), or go back to the server's own IP (enabled=false). Free. Only for an address attached to the public interface of a VPS (target.kind server_public) whose target.carrier.outgoing.offered is true; a server has at most one such address, so switching another one on replaces it. Replies, IPv6, sockets a program binds itself and NAT-ed container traffic do not change; the other side of a new outgoing connection sees the chosen address. The same value again answers outcome unchanged. When the address leaves the server the platform first moves the outgoing source back to the server's own IP. Refusals: 409 public_address_outgoing_not_on_server, public_address_outgoing_node_not_ready, public_address_outgoing_server_type_not_available (Cloud VPS), public_address_change_pending; 423 while the server's two-factor lock is closed. Accepted is not applied: read target.carrier.outgoing.state with get_network_public_address. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks. Read current capabilities and owned resource state first; obtain approval for the exact change. An accepted operation is pending, not proof of connectivity. Poll the returned operation/resource on its in_progress flag, waiting next_check_seconds between reads: while in_progress is true its reason_code is what is awaited (reason_kind waiting, e.g. a queued or pending reason, or a control plane that has not answered yet), never an error; only in_progress false with reason_kind failure is a failure. Preserve reason_code. On transport uncertainty inspect state and reuse only the original key and unchanged request; never automatically retry.
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": {
"address_id": "<address_id>",
"enabled": "<enabled>"
},
"name": "set_public_address_outgoing_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| address_id | Yes | Exact lowercase UUID returned by an owned networking resource |