Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Linode (Akamai Cloud)

Scalekit connector
Open markdown

The Linode (Akamai Cloud) connector lets your AI agent act in each user's Linode (Akamai Cloud) account. Each user connects their own Linode (Akamai Cloud) access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 60 tools.

Tools
60
What they doRead · write · destructive
33 · 20 · 733 read20 write7 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Linode (Akamai Cloud) connection

    In AgentKit > Connections, create a Linode (Akamai Cloud) connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'linode'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Linode (Akamai Cloud):', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'linode_account_get',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Linode (Akamai Cloud) credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • linode_account_getGet the account contact details, balance and active services.Read-only

    Get Account

    Get the account contact details, balance and active services. Returns an object with active_promotions, active_since, address_1, address_2, balance, balance_uninvoiced, billing_source, capabilities, city, company, and more. Use linode_account_get for billing and contact info. Use linode_profile_get for the token user.

    Inputs

    This tool takes no inputs.

  • linode_domain_getGet one DNS domain with its SOA email, type and status.Read-only

    Get Domain

    Get one DNS domain with its SOA email, type and status. Returns an object with axfr_ips, description, domain, expire_sec, group, id, master_ips, refresh_sec, retry_sec, soa_email, and more. Use linode_domain_get for one domain. Use linode_domain_records_list for its records.

    Inputs

    domain_idintegerrequired
    Domain ID, from linode_domains_list. Example: 1234
  • linode_domain_records_listList the DNS records of a domain.Read-only

    List DNS Records

    List the DNS records of a domain. Returns data[] (each with created, id, name, port, priority, protocol, service, tag) plus page, pages, results. Use linode_domain_records_list to find a record ID.

    Inputs

    domain_idintegerrequired
    Domain ID, from linode_domains_list. Example: 1234
    pageinteger
    Page number to return, starting at 1. Example: 1
    page_sizeinteger
    Results per page, 25 to 500 (default 100). Example: 100
  • linode_domains_listList the domains in the Linode DNS Manager.Read-only

    List Domains

    List the domains in the Linode DNS Manager. Returns data[] (each with axfr_ips, description, domain, expire_sec, group, id, master_ips, refresh_sec) plus page, pages, results. Use linode_domains_list to find a domain ID.

    Inputs

    pageinteger
    Page number to return, starting at 1. Example: 1
    page_sizeinteger
    Results per page, 25 to 500 (default 100). Example: 100
  • linode_event_getGet one event with its action, status, progress and entity.Read-only

    Get Event

    Get one event with its action, status, progress and entity. Returns an object with action, created, details, duration, entity, id, message, percent_complete, rate, secondary_entity, and more. Use linode_event_get to poll the progress of an operation.

    Inputs

    event_idintegerrequired
    Event ID. Example: 123
  • linode_events_listList account events (actions such as Linode boots, creates and deletes), newest first.Read-only

    List Events

    List account events (actions such as Linode boots, creates and deletes), newest first. Returns data[] (each with action, created, details, duration, entity, id, message, percent_complete) plus page, pages, results. Use linode_events_list to follow async operations. Use linode_event_get for one event.

    Inputs

    pageinteger
    Page number to return, starting at 1. Example: 1
    page_sizeinteger
    Results per page, 25 to 500 (default 100). Example: 100
  • linode_firewall_devices_listList the Linodes and NodeBalancers a firewall is assigned to.Read-only

    List Firewall Devices

    List the Linodes and NodeBalancers a firewall is assigned to. Returns data[] (each with created, entity, id, updated) plus page, pages, results. Use linode_firewall_devices_list to see what a firewall protects.

    Inputs

    firewall_idintegerrequired
    Firewall ID, from linode_firewalls_list. Example: 1234
    pageinteger
    Page number to return, starting at 1. Example: 1
    page_sizeinteger
    Results per page, 25 to 500 (default 100). Example: 100
  • linode_firewall_getGet one Cloud Firewall with its rules and status.Read-only

    Get Firewall

    Get one Cloud Firewall with its rules and status. Returns an object with created, entities, id, label, rules, status, tags, updated. Use linode_firewall_get for one firewall.

    Inputs

    firewall_idintegerrequired
    Firewall ID, from linode_firewalls_list. Example: 1234