naftiko: 1.0.0-alpha2 info: label: Activepieces API — Folders description: 'Activepieces API — Folders. 5 operations. Lead operation: Activepieces List Folders. Self-contained Naftiko capability covering one Activepieces business surface.' tags: - Activepieces - Folders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVEPIECES_API_KEY: ACTIVEPIECES_API_KEY capability: consumes: - type: http namespace: activepieces-folders baseUri: https://cloud.activepieces.com/api/v1 description: Activepieces API — Folders business capability. Self-contained, no shared references. resources: - name: folders path: /folders operations: - name: listfolders method: GET description: Activepieces List Folders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: query type: string description: Project ID required: true - name: limit in: query type: integer description: Number of results - name: cursor in: query type: string description: Pagination cursor - name: createfolder method: POST description: Activepieces Create Folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: folders-id path: /folders/{id} operations: - name: getfolder method: GET description: Activepieces Get Folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Folder ID required: true - name: updatefolder method: POST description: Activepieces Update Folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Folder ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletefolder method: DELETE description: Activepieces Delete Folder outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Folder ID required: true authentication: type: bearer token: '{{env.ACTIVEPIECES_API_KEY}}' exposes: - type: rest namespace: activepieces-folders-rest port: 8080 description: REST adapter for Activepieces API — Folders. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/folders name: folders description: REST surface for folders. operations: - method: GET name: listfolders description: Activepieces List Folders call: activepieces-folders.listfolders with: projectId: rest.projectId limit: rest.limit cursor: rest.cursor outputParameters: - type: object mapping: $. - method: POST name: createfolder description: Activepieces Create Folder call: activepieces-folders.createfolder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/folders/{id} name: folders-id description: REST surface for folders-id. operations: - method: GET name: getfolder description: Activepieces Get Folder call: activepieces-folders.getfolder with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: updatefolder description: Activepieces Update Folder call: activepieces-folders.updatefolder with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletefolder description: Activepieces Delete Folder call: activepieces-folders.deletefolder with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: activepieces-folders-mcp port: 9090 transport: http description: MCP adapter for Activepieces API — Folders. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activepieces-list-folders description: Activepieces List Folders hints: readOnly: true destructive: false idempotent: true call: activepieces-folders.listfolders with: projectId: tools.projectId limit: tools.limit cursor: tools.cursor outputParameters: - type: object mapping: $. - name: activepieces-create-folder description: Activepieces Create Folder hints: readOnly: false destructive: false idempotent: false call: activepieces-folders.createfolder with: body: tools.body outputParameters: - type: object mapping: $. - name: activepieces-get-folder description: Activepieces Get Folder hints: readOnly: true destructive: false idempotent: true call: activepieces-folders.getfolder with: id: tools.id outputParameters: - type: object mapping: $. - name: activepieces-update-folder description: Activepieces Update Folder hints: readOnly: false destructive: false idempotent: false call: activepieces-folders.updatefolder with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: activepieces-delete-folder description: Activepieces Delete Folder hints: readOnly: false destructive: true idempotent: true call: activepieces-folders.deletefolder with: id: tools.id outputParameters: - type: object mapping: $.