AACFlow

Tailscale

Manage devices and network settings in your Tailscale tailnet

Usage Instructions

Interact with the Tailscale API to manage devices, DNS, ACLs, auth keys, users, and routes across your tailnet.

Tools

tailscale_list_devices

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
devicesarrayList of devices in the tailnet
idstringDevice ID
namestringDevice name
hostnamestringDevice hostname
userstringAssociated user
osstringOperating system
clientVersionstringTailscale client version
addressesarrayTailscale IP addresses
tagsarrayDevice tags
authorizedbooleanWhether the device is authorized
blocksIncomingConnectionsbooleanWhether the device blocks incoming connections
lastSeenstringLast seen timestamp
createdstringCreation timestamp
countnumberTotal number of devices

tailscale_get_device

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description

Output

ParameterTypeDescription
idstringDevice ID
namestringDevice name
hostnamestringDevice hostname
userstringAssociated user
osstringOperating system
clientVersionstringTailscale client version
addressesarrayTailscale IP addresses
tagsarrayDevice tags
authorizedbooleanWhether the device is authorized
blocksIncomingConnectionsbooleanWhether the device blocks incoming connections
lastSeenstringLast seen timestamp
createdstringCreation timestamp
isExternalbooleanWhether the device is external
updateAvailablebooleanWhether an update is available
machineKeystringMachine key
nodeKeystringNode key

tailscale_delete_device

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description

Output

ParameterTypeDescription
successbooleanWhether the device was successfully deleted
deviceIdstringID of the deleted device

tailscale_authorize_device

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description
authorizedbooleanYesNo description

Output

ParameterTypeDescription
successbooleanWhether the operation succeeded
deviceIdstringDevice ID
authorizedbooleanAuthorization status after the operation

tailscale_set_device_tags

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description
tagsstringYesComma-separated list of tags (e.g., "tag:server,tag:production")

Output

ParameterTypeDescription
successbooleanWhether the tags were successfully set
deviceIdstringdeviceId output from the tool
tagsarrayTags set on the device

tailscale_get_device_routes

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description

Output

ParameterTypeDescription
advertisedRoutesarraySubnet routes the device is advertising
enabledRoutesarraySubnet routes that are approved/enabled

tailscale_set_device_routes

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description
routesstringYesComma-separated list of subnet routes to enable (e.g., "10.0.0.0/24,192.168.1.0/24")

Output

ParameterTypeDescription
advertisedRoutesarraySubnet routes the device is advertising
enabledRoutesarraySubnet routes that are now enabled

tailscale_update_device_key

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
deviceIdstringYesNo description
keyExpiryDisabledbooleanYesNo description

Output

ParameterTypeDescription
successbooleanWhether the operation succeeded
deviceIdstringdeviceId output from the tool
keyExpiryDisabledbooleanWhether key expiry is now disabled

tailscale_list_dns_nameservers

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
dnsarrayList of DNS nameserver addresses
magicDNSbooleanWhether MagicDNS is enabled

tailscale_set_dns_nameservers

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
dnsstringYesComma-separated list of DNS nameserver IP addresses (e.g., "8.8.8.8,8.8.4.4")

Output

ParameterTypeDescription
dnsarrayUpdated list of DNS nameserver addresses
magicDNSbooleanWhether MagicDNS is enabled

tailscale_get_dns_preferences

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
magicDNSbooleanWhether MagicDNS is enabled

tailscale_set_dns_preferences

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
magicDNSbooleanYesNo description

Output

ParameterTypeDescription
magicDNSbooleanUpdated MagicDNS status

tailscale_get_dns_searchpaths

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
searchPathsarrayList of DNS search path domains

tailscale_set_dns_searchpaths

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
searchPathsstringYesComma-separated list of DNS search path domains (e.g., "corp.example.com,internal.example.com")

Output

ParameterTypeDescription
resultarrayUpdated list of DNS search path domains

tailscale_list_users

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
usersarrayList of users in the tailnet
idstringUser ID
displayNamestringDisplay name
loginNamestringLogin name / email
profilePicURLstringProfile picture URL
rolestringUser role (owner, admin, member, etc.)
statusstringUser status (active, suspended, etc.)
typestringUser type (member, shared, tagged)
createdstringCreation timestamp
lastSeenstringLast seen timestamp
deviceCountnumberNumber of devices owned by user
countnumberTotal number of users

tailscale_create_auth_key

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
reusablebooleanNoNo description
ephemeralbooleanNoNo description
preauthorizedbooleanNoNo description
tagsstringNoComma-separated list of tags for devices using this key (e.g., "tag:server,tag:prod")
descriptionstringNoNo description
expirySecondsnumberNoNo description

Output

ParameterTypeDescription
idstringAuth key ID
keystringThe auth key value (only shown once at creation)
descriptionstringKey description
createdstringCreation timestamp
expiresstringExpiration timestamp
revokedstringRevocation timestamp (empty if not revoked)
capabilitiesobjectKey capabilities
reusablebooleanWhether the key is reusable
ephemeralbooleanWhether devices are ephemeral
preauthorizedbooleanWhether devices are pre-authorized
tagsarrayTags applied to devices using this key

tailscale_list_auth_keys

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
keysarrayList of auth keys
idstringAuth key ID
descriptionstringKey description
createdstringCreation timestamp
expiresstringExpiration timestamp
revokedstringRevocation timestamp
capabilitiesobjectKey capabilities
reusablebooleanWhether the key is reusable
ephemeralbooleanWhether devices are ephemeral
preauthorizedbooleanWhether devices are pre-authorized
tagsarrayTags applied to devices
countnumberTotal number of auth keys

tailscale_get_auth_key

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
keyIdstringYesNo description

Output

ParameterTypeDescription
idstringAuth key ID
descriptionstringKey description
createdstringCreation timestamp
expiresstringExpiration timestamp
revokedstringRevocation timestamp
capabilitiesobjectKey capabilities
reusablebooleanWhether the key is reusable
ephemeralbooleanWhether devices are ephemeral
preauthorizedbooleanWhether devices are pre-authorized
tagsarrayTags applied to devices using this key

tailscale_delete_auth_key

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default
keyIdstringYesNo description

Output

ParameterTypeDescription
successbooleanWhether the auth key was successfully deleted
keyIdstringID of the deleted auth key

tailscale_get_acl

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
tailnetstringYesTailnet name (e.g., example.com) or "-" for default

Output

ParameterTypeDescription
aclstringACL policy as JSON string
etagstringETag for the current ACL version (use with If-Match header for updates)

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started