naftiko: 1.0.0-alpha2 info: label: LlamaIndex LlamaCloud Index API — Index Files description: 'LlamaIndex LlamaCloud Index API — Index Files. 2 operations. Lead operation: List index files. Self-contained Naftiko capability covering one Llamaindex business surface.' tags: - Llamaindex - Index Files created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LLAMAINDEX_API_KEY: LLAMAINDEX_API_KEY capability: consumes: - type: http namespace: llamacloud-index-index-files baseUri: https://api.cloud.llamaindex.ai/api/v1 description: LlamaIndex LlamaCloud Index API — Index Files business capability. Self-contained, no shared references. resources: - name: pipelines-pipelineId-files path: /pipelines/{pipelineId}/files operations: - name: listindexfiles method: GET description: List index files outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addfilestoindex method: PUT description: Add files to an index 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.LLAMAINDEX_API_KEY}}' exposes: - type: rest namespace: llamacloud-index-index-files-rest port: 8080 description: REST adapter for LlamaIndex LlamaCloud Index API — Index Files. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/pipelines/{pipelineid}/files name: pipelines-pipelineid-files description: REST surface for pipelines-pipelineId-files. operations: - method: GET name: listindexfiles description: List index files call: llamacloud-index-index-files.listindexfiles outputParameters: - type: object mapping: $. - method: PUT name: addfilestoindex description: Add files to an index call: llamacloud-index-index-files.addfilestoindex with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: llamacloud-index-index-files-mcp port: 9090 transport: http description: MCP adapter for LlamaIndex LlamaCloud Index API — Index Files. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-index-files description: List index files hints: readOnly: true destructive: false idempotent: true call: llamacloud-index-index-files.listindexfiles outputParameters: - type: object mapping: $. - name: add-files-index description: Add files to an index hints: readOnly: false destructive: false idempotent: true call: llamacloud-index-index-files.addfilestoindex with: body: tools.body outputParameters: - type: object mapping: $.