Rename device
tailscale_rename_deviceSet or reset a device name in your tailnet by device ID. Use an FQDN or base name, or pass an empty name to restore the OS hostname.
Instructions
Set the name of a device in the tailnet, or reset it to its OS hostname.
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": {
"deviceId": "<deviceId>",
"name": "<name>"
},
"name": "tailscale_rename_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New device name: the FQDN (e.g. 'nodename.your-tailnet.ts.net') or just the base name (e.g. 'nodename'). Pass an empty string to reset the name to one generated from the OS hostname (per Tailscale's API spec). | |
| deviceId | Yes | The device ID to rename. nodeId from tailscale_list_devices (e.g. nPM2KNuedB21DEVEL); numeric id ok; not the nodeKey. |