naftiko: 1.0.0-alpha2 info: label: Linode API v4 — Longview description: 'Linode API v4 — Longview. 2 operations. Lead operation: List Longview clients. Self-contained Naftiko capability covering one Linode business surface.' tags: - Linode - Longview 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-longview baseUri: https://api.linode.com/v4 description: Linode API v4 — Longview business capability. Self-contained, no shared references. resources: - name: longview-clients path: /longview/clients operations: - name: getlongviewclients method: GET description: List Longview clients outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createlongviewclient method: POST description: Create a Longview client 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-longview-rest port: 8080 description: REST adapter for Linode API v4 — Longview. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/longview/clients name: longview-clients description: REST surface for longview-clients. operations: - method: GET name: getlongviewclients description: List Longview clients call: api-v4-longview.getlongviewclients outputParameters: - type: object mapping: $. - method: POST name: createlongviewclient description: Create a Longview client call: api-v4-longview.createlongviewclient with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: api-v4-longview-mcp port: 9090 transport: http description: MCP adapter for Linode API v4 — Longview. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-longview-clients description: List Longview clients hints: readOnly: true destructive: false idempotent: true call: api-v4-longview.getlongviewclients outputParameters: - type: object mapping: $. - name: create-longview-client description: Create a Longview client hints: readOnly: false destructive: false idempotent: false call: api-v4-longview.createlongviewclient with: body: tools.body outputParameters: - type: object mapping: $.