set_hostname
Assign a valid RFC 1123 hostname to a virtual instance, ensuring DNS-compatible naming for the machine.
Instructions
Set the hostname of an instance. Must be RFC 1123 compliant (letters, numbers, hyphens, dots).
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": {
"id": "<id>",
"hostname": "<hostname>"
},
"name": "set_hostname"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The instance ID | |
| hostname | Yes | New hostname (max 64 chars, RFC 1123 format) |