naftiko: 1.0.0-alpha2 info: label: Fastly Edge Dictionaries API — Dictionary Item description: 'Fastly Edge Dictionaries API — Dictionary Item. 7 operations. Lead operation: Create a dictionary item. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - Dictionary Item 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-item baseUri: https://api.fastly.com description: Fastly Edge Dictionaries API — Dictionary Item business capability. Self-contained, no shared references. resources: - name: service-service_id-dictionary-dictionary_id-item path: /service/{service_id}/dictionary/{dictionary_id}/item operations: - name: createdictionaryitem method: POST description: Create a dictionary item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: service-service_id-dictionary-dictionary_id-item-dictionary_item_key path: /service/{service_id}/dictionary/{dictionary_id}/item/{dictionary_item_key} operations: - name: getdictionaryitem method: GET description: Get a dictionary item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: dictionary_item_key in: path type: string description: The key of the dictionary item. required: true - name: upsertdictionaryitem method: PUT description: Upsert a dictionary item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: dictionary_item_key in: path type: string description: The key of the dictionary item. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: updatedictionaryitem method: PATCH description: Update a dictionary item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: dictionary_item_key in: path type: string description: The key of the dictionary item. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletedictionaryitem method: DELETE description: Delete a dictionary item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: dictionary_item_key in: path type: string description: The key of the dictionary item. required: true - name: service-service_id-dictionary-dictionary_id-items path: /service/{service_id}/dictionary/{dictionary_id}/items operations: - name: listdictionaryitems method: GET description: List dictionary items outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: page in: query type: integer description: The page number to retrieve. - name: per_page in: query type: integer description: The number of items per page. - name: bulkupdatedictionaryitems method: PATCH description: Bulk update dictionary items outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dictionary_id in: path type: string description: The alphanumeric string identifying the dictionary. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: dictionaries-dictionary-item-rest port: 8080 description: REST adapter for Fastly Edge Dictionaries API — Dictionary Item. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/service/{service-id}/dictionary/{dictionary-id}/item name: service-service-id-dictionary-dictionary-id-item description: REST surface for service-service_id-dictionary-dictionary_id-item. operations: - method: POST name: createdictionaryitem description: Create a dictionary item call: dictionaries-dictionary-item.createdictionaryitem with: dictionary_id: rest.dictionary_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/service/{service-id}/dictionary/{dictionary-id}/item/{dictionary-item-key} name: service-service-id-dictionary-dictionary-id-item-dictionary-item-key description: REST surface for service-service_id-dictionary-dictionary_id-item-dictionary_item_key. operations: - method: GET name: getdictionaryitem description: Get a dictionary item call: dictionaries-dictionary-item.getdictionaryitem with: dictionary_id: rest.dictionary_id dictionary_item_key: rest.dictionary_item_key outputParameters: - type: object mapping: $. - method: PUT name: upsertdictionaryitem description: Upsert a dictionary item call: dictionaries-dictionary-item.upsertdictionaryitem with: dictionary_id: rest.dictionary_id dictionary_item_key: rest.dictionary_item_key body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatedictionaryitem description: Update a dictionary item call: dictionaries-dictionary-item.updatedictionaryitem with: dictionary_id: rest.dictionary_id dictionary_item_key: rest.dictionary_item_key body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedictionaryitem description: Delete a dictionary item call: dictionaries-dictionary-item.deletedictionaryitem with: dictionary_id: rest.dictionary_id dictionary_item_key: rest.dictionary_item_key outputParameters: - type: object mapping: $. - path: /v1/service/{service-id}/dictionary/{dictionary-id}/items name: service-service-id-dictionary-dictionary-id-items description: REST surface for service-service_id-dictionary-dictionary_id-items. operations: - method: GET name: listdictionaryitems description: List dictionary items call: dictionaries-dictionary-item.listdictionaryitems with: dictionary_id: rest.dictionary_id page: rest.page per_page: rest.per_page outputParameters: - type: object mapping: $. - method: PATCH name: bulkupdatedictionaryitems description: Bulk update dictionary items call: dictionaries-dictionary-item.bulkupdatedictionaryitems with: dictionary_id: rest.dictionary_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: dictionaries-dictionary-item-mcp port: 9090 transport: http description: MCP adapter for Fastly Edge Dictionaries API — Dictionary Item. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-dictionary-item description: Create a dictionary item hints: readOnly: false destructive: false idempotent: false call: dictionaries-dictionary-item.createdictionaryitem with: dictionary_id: tools.dictionary_id body: tools.body outputParameters: - type: object mapping: $. - name: get-dictionary-item description: Get a dictionary item hints: readOnly: true destructive: false idempotent: true call: dictionaries-dictionary-item.getdictionaryitem with: dictionary_id: tools.dictionary_id dictionary_item_key: tools.dictionary_item_key outputParameters: - type: object mapping: $. - name: upsert-dictionary-item description: Upsert a dictionary item hints: readOnly: false destructive: false idempotent: true call: dictionaries-dictionary-item.upsertdictionaryitem with: dictionary_id: tools.dictionary_id dictionary_item_key: tools.dictionary_item_key body: tools.body outputParameters: - type: object mapping: $. - name: update-dictionary-item description: Update a dictionary item hints: readOnly: false destructive: false idempotent: true call: dictionaries-dictionary-item.updatedictionaryitem with: dictionary_id: tools.dictionary_id dictionary_item_key: tools.dictionary_item_key body: tools.body outputParameters: - type: object mapping: $. - name: delete-dictionary-item description: Delete a dictionary item hints: readOnly: false destructive: true idempotent: true call: dictionaries-dictionary-item.deletedictionaryitem with: dictionary_id: tools.dictionary_id dictionary_item_key: tools.dictionary_item_key outputParameters: - type: object mapping: $. - name: list-dictionary-items description: List dictionary items hints: readOnly: true destructive: false idempotent: true call: dictionaries-dictionary-item.listdictionaryitems with: dictionary_id: tools.dictionary_id page: tools.page per_page: tools.per_page outputParameters: - type: object mapping: $. - name: bulk-update-dictionary-items description: Bulk update dictionary items hints: readOnly: false destructive: false idempotent: true call: dictionaries-dictionary-item.bulkupdatedictionaryitems with: dictionary_id: tools.dictionary_id body: tools.body outputParameters: - type: object mapping: $.