naftiko: 1.0.0-alpha2 info: label: Fastly Edge Dictionaries API — Dictionary description: 'Fastly Edge Dictionaries API — Dictionary. 5 operations. Lead operation: List dictionaries. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - Dictionary created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FASTLY_API_KEY: FASTLY_API_KEY capability: consumes: - type: http namespace: dictionaries-dictionary baseUri: https://api.fastly.com description: Fastly Edge Dictionaries API — Dictionary business capability. Self-contained, no shared references. resources: - name: service-service_id-version-version_id-dictionary path: /service/{service_id}/version/{version_id}/dictionary operations: - name: listdictionaries method: GET description: List dictionaries outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createdictionary method: POST description: Create a dictionary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: service-service_id-version-version_id-dictionary-dictionary_name path: /service/{service_id}/version/{version_id}/dictionary/{dictionary_name} operations: - name: getdictionary method: GET description: Get a dictionary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_name in: path type: string description: The name of the dictionary. required: true - name: updatedictionary method: PUT description: Update a dictionary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_name in: path type: string description: The name of the dictionary. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletedictionary method: DELETE description: Delete a dictionary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_name in: path type: string description: The name of the dictionary. required: true authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: dictionaries-dictionary-rest port: 8080 description: REST adapter for Fastly Edge Dictionaries API — Dictionary. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/service/{service-id}/version/{version-id}/dictionary name: service-service-id-version-version-id-dictionary description: REST surface for service-service_id-version-version_id-dictionary. operations: - method: GET name: listdictionaries description: List dictionaries call: dictionaries-dictionary.listdictionaries outputParameters: - type: object mapping: $. - method: POST name: createdictionary description: Create a dictionary call: dictionaries-dictionary.createdictionary with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/service/{service-id}/version/{version-id}/dictionary/{dictionary-name} name: service-service-id-version-version-id-dictionary-dictionary-name description: REST surface for service-service_id-version-version_id-dictionary-dictionary_name. operations: - method: GET name: getdictionary description: Get a dictionary call: dictionaries-dictionary.getdictionary with: dictionary_name: rest.dictionary_name outputParameters: - type: object mapping: $. - method: PUT name: updatedictionary description: Update a dictionary call: dictionaries-dictionary.updatedictionary with: dictionary_name: rest.dictionary_name body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedictionary description: Delete a dictionary call: dictionaries-dictionary.deletedictionary with: dictionary_name: rest.dictionary_name outputParameters: - type: object mapping: $. - type: mcp namespace: dictionaries-dictionary-mcp port: 9090 transport: http description: MCP adapter for Fastly Edge Dictionaries API — Dictionary. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-dictionaries description: List dictionaries hints: readOnly: true destructive: false idempotent: true call: dictionaries-dictionary.listdictionaries outputParameters: - type: object mapping: $. - name: create-dictionary description: Create a dictionary hints: readOnly: false destructive: false idempotent: false call: dictionaries-dictionary.createdictionary with: body: tools.body outputParameters: - type: object mapping: $. - name: get-dictionary description: Get a dictionary hints: readOnly: true destructive: false idempotent: true call: dictionaries-dictionary.getdictionary with: dictionary_name: tools.dictionary_name outputParameters: - type: object mapping: $. - name: update-dictionary description: Update a dictionary hints: readOnly: false destructive: false idempotent: true call: dictionaries-dictionary.updatedictionary with: dictionary_name: tools.dictionary_name body: tools.body outputParameters: - type: object mapping: $. - name: delete-dictionary description: Delete a dictionary hints: readOnly: false destructive: true idempotent: true call: dictionaries-dictionary.deletedictionary with: dictionary_name: tools.dictionary_name outputParameters: - type: object mapping: $.