Attach public address to server interface
attach_public_address_to_server_interfaceAttach an owned public IP address to a VPSnet server's public interface, adding it alongside the server’s existing IPv4 without router, NAT, or purchase changes.
Instructions
Attach an owned paid public address directly to the public interface of a server that has its own public IPv4 (service_id from list_public_address_server_targets with eligible true). The address is added next to the server's own address; that address, its IP rows and reverse DNS are never touched; no network, router or NAT is involved and no purchase occurs. Offered only while get_networking_capabilities reports public_address_server_public true: this tool reads it first and refuses without any change otherwise. Pass move=true only after approving that the address leaves its previous target; a move away from such a server completes only after the server's node confirmed the address withdrawn (pending_target until then). The attach is accepted before it is applied: read get_network_public_address (target.kind server_public; carrier.node_state pending, routed, withdrawn or refused; carrier.guest_state pending, applied, customer_managed, agent_unavailable or unsupported). When guest_state is customer_managed, agent_unavailable or unsupported, nothing was written inside the server and carrier.instruction (one_liner, file_path, file_text) is what the customer runs there. check_network_public_address_reach asks again. 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>",
"service_id": "<service_id>"
},
"name": "attach_public_address_to_server_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | No | ||
| address_id | Yes | Exact lowercase UUID returned by an owned networking resource | |
| service_id | Yes |