naftiko: 1.0.0-alpha2 info: label: lakeFS API — commits description: 'lakeFS API — commits. 2 operations. Lead operation: create commit. Self-contained Naftiko capability covering one Lakefs business surface.' tags: - Lakefs - commits created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LAKEFS_API_KEY: LAKEFS_API_KEY capability: consumes: - type: http namespace: lakefs-commits baseUri: '' description: lakeFS API — commits business capability. Self-contained, no shared references. resources: - name: repositories-repository-branches-branch-commits path: /repositories/{repository}/branches/{branch}/commits operations: - name: commit method: POST description: create commit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: source_metarange in: query type: string description: The source metarange to commit. Branch must not have uncommitted changes. - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-repository-commits-commitId path: /repositories/{repository}/commits/{commitId} operations: - name: getcommit method: GET description: get commit outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LAKEFS_API_KEY}}' exposes: - type: rest namespace: lakefs-commits-rest port: 8080 description: REST adapter for lakeFS API — commits. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{repository}/branches/{branch}/commits name: repositories-repository-branches-branch-commits description: REST surface for repositories-repository-branches-branch-commits. operations: - method: POST name: commit description: create commit call: lakefs-commits.commit with: source_metarange: rest.source_metarange body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{repository}/commits/{commitid} name: repositories-repository-commits-commitid description: REST surface for repositories-repository-commits-commitId. operations: - method: GET name: getcommit description: get commit call: lakefs-commits.getcommit outputParameters: - type: object mapping: $. - type: mcp namespace: lakefs-commits-mcp port: 9090 transport: http description: MCP adapter for lakeFS API — commits. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-commit description: create commit hints: readOnly: false destructive: false idempotent: false call: lakefs-commits.commit with: source_metarange: tools.source_metarange body: tools.body outputParameters: - type: object mapping: $. - name: get-commit description: get commit hints: readOnly: true destructive: false idempotent: true call: lakefs-commits.getcommit outputParameters: - type: object mapping: $.