naftiko: 1.0.0-alpha2 info: label: Ashby API — File description: 'Ashby API — File. 2 operations. Lead operation: file.createFileUploadHandle. Self-contained Naftiko capability covering one Ashby business surface.' tags: - Ashby - File created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ASHBY_API_KEY: ASHBY_API_KEY capability: consumes: - type: http namespace: ashby-file baseUri: https://api.ashbyhq.com description: Ashby API — File business capability. Self-contained, no shared references. resources: - name: file.createFileUploadHandle path: /file.createFileUploadHandle operations: - name: filecreatefileuploadhandle method: POST description: file.createFileUploadHandle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: file.info path: /file.info operations: - name: fileinfo method: POST description: file.info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Ashby-Signature value: '{{env.ASHBY_API_KEY}}' placement: header exposes: - type: rest namespace: ashby-file-rest port: 8080 description: REST adapter for Ashby API — File. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/file-createfileuploadhandle name: file-createfileuploadhandle description: REST surface for file.createFileUploadHandle. operations: - method: POST name: filecreatefileuploadhandle description: file.createFileUploadHandle call: ashby-file.filecreatefileuploadhandle with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/file-info name: file-info description: REST surface for file.info. operations: - method: POST name: fileinfo description: file.info call: ashby-file.fileinfo with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ashby-file-mcp port: 9090 transport: http description: MCP adapter for Ashby API — File. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: file-createfileuploadhandle description: file.createFileUploadHandle hints: readOnly: false destructive: false idempotent: false call: ashby-file.filecreatefileuploadhandle with: body: tools.body outputParameters: - type: object mapping: $. - name: file-info description: file.info hints: readOnly: false destructive: false idempotent: false call: ashby-file.fileinfo with: body: tools.body outputParameters: - type: object mapping: $.