Rename device
tailscale_rename_deviceRename a Tailscale device to a custom name or reset it to its OS hostname. Provide the device ID and new name to update the tailnet.
Instructions
Set the name of a device in the tailnet, or reset it to its OS hostname.
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. |