Set VPS Hostname
vps_set_hostnameSet a custom hostname for any virtual machine by providing its ID and the desired hostname, making VPS identification straightforward.
Instructions
Set hostname for a virtual machine.
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": {
"vm_id": "<vm_id>",
"hostname": "<hostname>"
},
"name": "vps_set_hostname"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | Virtual machine ID | |
| hostname | Yes | New hostname |