linode · Capability

Linode API v4 — Domains

Linode API v4 — Domains. 7 operations. Lead operation: List domains. Self-contained Naftiko capability covering one Linode business surface.

Run with Naftiko LinodeDomains

What You Can Do

GET
Getdomains — List domains
/v1/domains
POST
Createdomain — Create a domain
/v1/domains
GET
Getdomain — Get a domain
/v1/domains/{domainid}
PUT
Updatedomain — Update a domain
/v1/domains/{domainid}
DELETE
Deletedomain — Delete a domain
/v1/domains/{domainid}
GET
Getdomainrecords — List domain records
/v1/domains/{domainid}/records
POST
Createdomainrecord — Create a domain record
/v1/domains/{domainid}/records

MCP Tools

list-domains

List domains

read-only idempotent
create-domain

Create a domain

get-domain

Get a domain

read-only idempotent
update-domain

Update a domain

idempotent
delete-domain

Delete a domain

idempotent
list-domain-records

List domain records

read-only idempotent
create-domain-record

Create a domain record

Capability Spec

api-v4-domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Linode API v4 — Domains
  description: 'Linode API v4 — Domains. 7 operations. Lead operation: List domains. Self-contained Naftiko capability covering
    one Linode business surface.'
  tags:
  - Linode
  - Domains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LINODE_API_KEY: LINODE_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-v4-domains
    baseUri: https://api.linode.com/v4
    description: Linode API v4 — Domains business capability. Self-contained, no shared references.
    resources:
    - name: domains
      path: /domains
      operations:
      - name: getdomains
        method: GET
        description: List domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdomain
        method: POST
        description: Create a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: domains-domainId
      path: /domains/{domainId}
      operations:
      - name: getdomain
        method: GET
        description: Get a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatedomain
        method: PUT
        description: Update a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedomain
        method: DELETE
        description: Delete a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: domains-domainId-records
      path: /domains/{domainId}/records
      operations:
      - name: getdomainrecords
        method: GET
        description: List domain records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdomainrecord
        method: POST
        description: Create a domain record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LINODE_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-v4-domains-rest
    port: 8080
    description: REST adapter for Linode API v4 — Domains. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/domains
      name: domains
      description: REST surface for domains.
      operations:
      - method: GET
        name: getdomains
        description: List domains
        call: api-v4-domains.getdomains
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdomain
        description: Create a domain
        call: api-v4-domains.createdomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/domains/{domainid}
      name: domains-domainid
      description: REST surface for domains-domainId.
      operations:
      - method: GET
        name: getdomain
        description: Get a domain
        call: api-v4-domains.getdomain
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatedomain
        description: Update a domain
        call: api-v4-domains.updatedomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedomain
        description: Delete a domain
        call: api-v4-domains.deletedomain
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/domains/{domainid}/records
      name: domains-domainid-records
      description: REST surface for domains-domainId-records.
      operations:
      - method: GET
        name: getdomainrecords
        description: List domain records
        call: api-v4-domains.getdomainrecords
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdomainrecord
        description: Create a domain record
        call: api-v4-domains.createdomainrecord
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-v4-domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Linode API v4 — Domains. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-domains
      description: List domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-v4-domains.getdomains
      outputParameters:
      - type: object
        mapping: $.
    - name: create-domain
      description: Create a domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-v4-domains.createdomain
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-domain
      description: Get a domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-v4-domains.getdomain
      outputParameters:
      - type: object
        mapping: $.
    - name: update-domain
      description: Update a domain
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: api-v4-domains.updatedomain
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-domain
      description: Delete a domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-v4-domains.deletedomain
      outputParameters:
      - type: object
        mapping: $.
    - name: list-domain-records
      description: List domain records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-v4-domains.getdomainrecords
      outputParameters:
      - type: object
        mapping: $.
    - name: create-domain-record
      description: Create a domain record
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-v4-domains.createdomainrecord
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.