ips_add
Add an IP address to DirectAdmin's admin IP manager by providing the IP, netmask, and confirmation, allowing administrators to allocate new IPs for hosting accounts.
Instructions
Add an IP to the admin IP manager.
Args: ip: Address to add. netmask: Netmask (IPv4) or prefix hint. confirm: Required.
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": {
"ip": "<ip>"
},
"name": "ips_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| confirm | No | ||
| netmask | No | 255.255.255.0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |