naftiko: 1.0.0-alpha2 info: label: Linode API v4 — Account description: 'Linode API v4 — Account. 12 operations. Lead operation: Get account info. Self-contained Naftiko capability covering one Linode business surface.' tags: - Linode - Account 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-account baseUri: https://api.linode.com/v4 description: Linode API v4 — Account business capability. Self-contained, no shared references. resources: - name: account path: /account operations: - name: getaccount method: GET description: Get account info outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateaccount method: PUT description: Update account info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: account-events path: /account/events operations: - name: getevents method: GET description: List events outputRawFormat: json outputParameters: - name: result type: object value: $. - name: account-events-eventId path: /account/events/{eventId} operations: - name: getevent method: GET description: Get an event outputRawFormat: json outputParameters: - name: result type: object value: $. - name: account-invoices path: /account/invoices operations: - name: getinvoices method: GET description: List invoices outputRawFormat: json outputParameters: - name: result type: object value: $. - name: account-payments path: /account/payments operations: - name: getpayments method: GET description: List payments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpayment method: POST description: Make a payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: account-users path: /account/users operations: - name: getusers method: GET description: List users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createuser method: POST description: Create a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: account-users-username path: /account/users/{username} operations: - name: getuser method: GET description: Get a user outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PUT description: Update a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Delete a user outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LINODE_API_KEY}}' exposes: - type: rest namespace: api-v4-account-rest port: 8080 description: REST adapter for Linode API v4 — Account. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/account name: account description: REST surface for account. operations: - method: GET name: getaccount description: Get account info call: api-v4-account.getaccount outputParameters: - type: object mapping: $. - method: PUT name: updateaccount description: Update account info call: api-v4-account.updateaccount with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/account/events name: account-events description: REST surface for account-events. operations: - method: GET name: getevents description: List events call: api-v4-account.getevents outputParameters: - type: object mapping: $. - path: /v1/account/events/{eventid} name: account-events-eventid description: REST surface for account-events-eventId. operations: - method: GET name: getevent description: Get an event call: api-v4-account.getevent outputParameters: - type: object mapping: $. - path: /v1/account/invoices name: account-invoices description: REST surface for account-invoices. operations: - method: GET name: getinvoices description: List invoices call: api-v4-account.getinvoices outputParameters: - type: object mapping: $. - path: /v1/account/payments name: account-payments description: REST surface for account-payments. operations: - method: GET name: getpayments description: List payments call: api-v4-account.getpayments outputParameters: - type: object mapping: $. - method: POST name: createpayment description: Make a payment call: api-v4-account.createpayment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/account/users name: account-users description: REST surface for account-users. operations: - method: GET name: getusers description: List users call: api-v4-account.getusers outputParameters: - type: object mapping: $. - method: POST name: createuser description: Create a user call: api-v4-account.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/account/users/{username} name: account-users-username description: REST surface for account-users-username. operations: - method: GET name: getuser description: Get a user call: api-v4-account.getuser outputParameters: - type: object mapping: $. - method: PUT name: updateuser description: Update a user call: api-v4-account.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Delete a user call: api-v4-account.deleteuser outputParameters: - type: object mapping: $. - type: mcp namespace: api-v4-account-mcp port: 9090 transport: http description: MCP adapter for Linode API v4 — Account. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-account-info description: Get account info hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getaccount outputParameters: - type: object mapping: $. - name: update-account-info description: Update account info hints: readOnly: false destructive: false idempotent: true call: api-v4-account.updateaccount with: body: tools.body outputParameters: - type: object mapping: $. - name: list-events description: List events hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getevents outputParameters: - type: object mapping: $. - name: get-event description: Get an event hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getevent outputParameters: - type: object mapping: $. - name: list-invoices description: List invoices hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getinvoices outputParameters: - type: object mapping: $. - name: list-payments description: List payments hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getpayments outputParameters: - type: object mapping: $. - name: make-payment description: Make a payment hints: readOnly: false destructive: false idempotent: false call: api-v4-account.createpayment with: body: tools.body outputParameters: - type: object mapping: $. - name: list-users description: List users hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getusers outputParameters: - type: object mapping: $. - name: create-user description: Create a user hints: readOnly: false destructive: false idempotent: false call: api-v4-account.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: get-user description: Get a user hints: readOnly: true destructive: false idempotent: true call: api-v4-account.getuser outputParameters: - type: object mapping: $. - name: update-user description: Update a user hints: readOnly: false destructive: false idempotent: true call: api-v4-account.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-user description: Delete a user hints: readOnly: false destructive: true idempotent: true call: api-v4-account.deleteuser outputParameters: - type: object mapping: $.