naftiko: 1.0.0-alpha2 info: label: Ashby API — Custom Field description: 'Ashby API — Custom Field. 6 operations. Lead operation: customField.create. Self-contained Naftiko capability covering one Ashby business surface.' tags: - Ashby - Custom Field created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ASHBY_API_KEY: ASHBY_API_KEY capability: consumes: - type: http namespace: ashby-custom-field baseUri: https://api.ashbyhq.com description: Ashby API — Custom Field business capability. Self-contained, no shared references. resources: - name: customField.create path: /customField.create operations: - name: customfieldcreate method: POST description: customField.create outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customField.info path: /customField.info operations: - name: customfieldinfo method: POST description: customField.info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customField.list path: /customField.list operations: - name: customfieldlist method: POST description: customField.list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customField.setValue path: /customField.setValue operations: - name: customfieldsetvalue method: POST description: customField.setValue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customField.setValues path: /customField.setValues operations: - name: customfieldsetvalues method: POST description: customField.setValues outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customField.updateSelectableValues path: /customField.updateSelectableValues operations: - name: customfieldupdateselectablevalues method: POST description: customField.updateSelectableValues 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-custom-field-rest port: 8080 description: REST adapter for Ashby API — Custom Field. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/customfield-create name: customfield-create description: REST surface for customField.create. operations: - method: POST name: customfieldcreate description: customField.create call: ashby-custom-field.customfieldcreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customfield-info name: customfield-info description: REST surface for customField.info. operations: - method: POST name: customfieldinfo description: customField.info call: ashby-custom-field.customfieldinfo with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customfield-list name: customfield-list description: REST surface for customField.list. operations: - method: POST name: customfieldlist description: customField.list call: ashby-custom-field.customfieldlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customfield-setvalue name: customfield-setvalue description: REST surface for customField.setValue. operations: - method: POST name: customfieldsetvalue description: customField.setValue call: ashby-custom-field.customfieldsetvalue with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customfield-setvalues name: customfield-setvalues description: REST surface for customField.setValues. operations: - method: POST name: customfieldsetvalues description: customField.setValues call: ashby-custom-field.customfieldsetvalues with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customfield-updateselectablevalues name: customfield-updateselectablevalues description: REST surface for customField.updateSelectableValues. operations: - method: POST name: customfieldupdateselectablevalues description: customField.updateSelectableValues call: ashby-custom-field.customfieldupdateselectablevalues with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ashby-custom-field-mcp port: 9090 transport: http description: MCP adapter for Ashby API — Custom Field. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: customfield-create description: customField.create hints: readOnly: false destructive: false idempotent: false call: ashby-custom-field.customfieldcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: customfield-info description: customField.info hints: readOnly: false destructive: false idempotent: false call: ashby-custom-field.customfieldinfo with: body: tools.body outputParameters: - type: object mapping: $. - name: customfield-list description: customField.list hints: readOnly: false destructive: false idempotent: false call: ashby-custom-field.customfieldlist with: body: tools.body outputParameters: - type: object mapping: $. - name: customfield-setvalue description: customField.setValue hints: readOnly: false destructive: false idempotent: false call: ashby-custom-field.customfieldsetvalue with: body: tools.body outputParameters: - type: object mapping: $. - name: customfield-setvalues description: customField.setValues hints: readOnly: false destructive: false idempotent: false call: ashby-custom-field.customfieldsetvalues with: body: tools.body outputParameters: - type: object mapping: $. - name: customfield-updateselectablevalues description: customField.updateSelectableValues hints: readOnly: false destructive: false idempotent: false call: ashby-custom-field.customfieldupdateselectablevalues with: body: tools.body outputParameters: - type: object mapping: $.