Update device key
tailscale_update_device_keyDisable key expiry for a device by updating its key settings, keeping servers authenticated without repeated re-authentication.
Instructions
Update a device's key settings, such as disabling key expiry. Useful for servers that should never need to re-authenticate.
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>",
"keyExpiryDisabled": "<keyExpiryDisabled>"
},
"name": "tailscale_update_device_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The device ID. nodeId from tailscale_list_devices (e.g. nPM2KNuedB21DEVEL); numeric id ok; not the nodeKey. | |
| keyExpiryDisabled | Yes | Whether to disable key expiry for this device |