assign_ip
Assigns a virtual IP (VIP) to a VPS/VDS or bare-metal resource by resource ID, enabling the IP to be associated with the target machine.
Instructions
Assign a VIP to an VPS/VDS/Bare Metal [POST /v1/vips/{ip}/{resourceType}/{resourceId}] Assign a VIP to a VPS/VDS/Bare Metal using the machine id.
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": {
"resourceId": "<resourceId>",
"ip": "<ip>",
"resourceType": "<resourceType>"
},
"name": "assign_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | The ip you want to add the instance to | |
| resourceId | Yes | The identifier of the resource | |
| x-trace-id | No | Identifier to trace group of requests. | |
| resourceType | Yes | The resourceType using the VIP. |