naftiko: 1.0.0-alpha2 info: label: "Ashby \u2014 Files" description: Ashby Files capability. Two-step presigned upload pattern for candidate resumes, application attachments, and partner-supplied assessment artifacts. tags: - Ashby - Recruiting - ATS - Files created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: ASHBY_API_KEY: ASHBY_API_KEY capability: consumes: - type: http namespace: files-files baseUri: https://api.ashbyhq.com description: Ashby Files capability. Two-step presigned upload pattern for candidate resumes, application attachments, and partner-supplied assessment artifacts. Backed by the Ashby public REST API. resources: - name: file-info path: /file.info operations: - name: file-info method: POST description: Get file info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). See https://developers.ashbyhq.com/reference for the schema of each operation. required: false headers: - name: Accept value: application/json; version=1 - name: Content-Type value: application/json - name: file-create-upload-handle path: /file.createFileUploadHandle operations: - name: file-create-upload-handle method: POST description: Request a presigned file-upload handle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). See https://developers.ashbyhq.com/reference for the schema of each operation. required: false headers: - name: Accept value: application/json; version=1 - name: Content-Type value: application/json authentication: type: basic username: '{{env.ASHBY_API_KEY}}' password: '' description: 'HTTP Basic Auth: Ashby API key as username, blank password.' exposes: - type: rest namespace: files-files-rest port: 8080 description: "REST adapter for Ashby \u2014 Files. One Spectral-compliant resource per consumed operation, prefixed with /v1." resources: - path: /v1/file.info name: file-info description: REST surface for file-info. operations: - method: POST name: file-info description: Get file info call: files-files.file-info with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/file.createFileUploadHandle name: file-create-upload-handle description: REST surface for file-create-upload-handle. operations: - method: POST name: file-create-upload-handle description: Request a presigned file-upload handle call: files-files.file-create-upload-handle with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: files-files-mcp port: 9090 transport: http description: "MCP adapter for Ashby \u2014 Files. One tool per consumed operation, routed inline through this capability's consumes block." tools: - name: ashby-file-info description: Get file info hints: readOnly: true destructive: false idempotent: true call: files-files.file-info with: body: tools.body outputParameters: - type: object mapping: $. - name: ashby-file-create-upload-handle description: Request a presigned file-upload handle hints: readOnly: false destructive: false idempotent: false call: files-files.file-create-upload-handle with: body: tools.body outputParameters: - type: object mapping: $.