naftiko: 1.0.0-alpha2 info: label: Fulcrum API — Choice Lists description: 'Fulcrum API — Choice Lists. 5 operations. Lead operation: List choice lists. Self-contained Naftiko capability covering one Fulcrum business surface.' tags: - Fulcrum - Choice Lists created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FULCRUM_API_KEY: FULCRUM_API_KEY capability: consumes: - type: http namespace: fulcrum-choice-lists baseUri: https://api.fulcrumapp.com/api/v2 description: Fulcrum API — Choice Lists business capability. Self-contained, no shared references. resources: - name: choice_lists.json path: /choice_lists.json operations: - name: listchoicelists method: GET description: List choice lists outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createchoicelist method: POST description: Create choice list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: choice_lists-id}.json path: /choice_lists/{id}.json operations: - name: getchoicelist method: GET description: Get choice list outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatechoicelist method: PUT description: Update choice list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletechoicelist method: DELETE description: Delete choice list outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-ApiToken value: '{{env.FULCRUM_API_KEY}}' placement: header exposes: - type: rest namespace: fulcrum-choice-lists-rest port: 8080 description: REST adapter for Fulcrum API — Choice Lists. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/choice-lists-json name: choice-lists-json description: REST surface for choice_lists.json. operations: - method: GET name: listchoicelists description: List choice lists call: fulcrum-choice-lists.listchoicelists outputParameters: - type: object mapping: $. - method: POST name: createchoicelist description: Create choice list call: fulcrum-choice-lists.createchoicelist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/choice-lists/id-json name: choice-lists-id-json description: REST surface for choice_lists-id}.json. operations: - method: GET name: getchoicelist description: Get choice list call: fulcrum-choice-lists.getchoicelist outputParameters: - type: object mapping: $. - method: PUT name: updatechoicelist description: Update choice list call: fulcrum-choice-lists.updatechoicelist with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletechoicelist description: Delete choice list call: fulcrum-choice-lists.deletechoicelist outputParameters: - type: object mapping: $. - type: mcp namespace: fulcrum-choice-lists-mcp port: 9090 transport: http description: MCP adapter for Fulcrum API — Choice Lists. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-choice-lists description: List choice lists hints: readOnly: true destructive: false idempotent: true call: fulcrum-choice-lists.listchoicelists outputParameters: - type: object mapping: $. - name: create-choice-list description: Create choice list hints: readOnly: false destructive: false idempotent: false call: fulcrum-choice-lists.createchoicelist with: body: tools.body outputParameters: - type: object mapping: $. - name: get-choice-list description: Get choice list hints: readOnly: true destructive: false idempotent: true call: fulcrum-choice-lists.getchoicelist outputParameters: - type: object mapping: $. - name: update-choice-list description: Update choice list hints: readOnly: false destructive: false idempotent: true call: fulcrum-choice-lists.updatechoicelist with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-choice-list description: Delete choice list hints: readOnly: false destructive: true idempotent: true call: fulcrum-choice-lists.deletechoicelist outputParameters: - type: object mapping: $.