naftiko: 1.0.0-alpha2 info: label: Contentstack Personalize Edge API — User Attributes description: 'Contentstack Personalize Edge API — User Attributes. 2 operations. Lead operation: Set and update user attributes. Self-contained Naftiko capability covering one Contentstack business surface.' tags: - Contentstack - User Attributes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY capability: consumes: - type: http namespace: personalize-edge-user-attributes baseUri: https://personalize-edge.contentstack.com description: Contentstack Personalize Edge API — User Attributes business capability. Self-contained, no shared references. resources: - name: user-attributes path: /user-attributes operations: - name: setuserattributes method: PATCH description: Set and update user attributes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: user-attributes-actions-merge path: /user-attributes/actions/merge operations: - name: mergeuserattributes method: POST description: Merge user attributes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: personalize-edge-user-attributes-rest port: 8080 description: REST adapter for Contentstack Personalize Edge API — User Attributes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/user-attributes name: user-attributes description: REST surface for user-attributes. operations: - method: PATCH name: setuserattributes description: Set and update user attributes call: personalize-edge-user-attributes.setuserattributes with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/user-attributes/actions/merge name: user-attributes-actions-merge description: REST surface for user-attributes-actions-merge. operations: - method: POST name: mergeuserattributes description: Merge user attributes call: personalize-edge-user-attributes.mergeuserattributes with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: personalize-edge-user-attributes-mcp port: 9090 transport: http description: MCP adapter for Contentstack Personalize Edge API — User Attributes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: set-and-update-user-attributes description: Set and update user attributes hints: readOnly: false destructive: false idempotent: true call: personalize-edge-user-attributes.setuserattributes with: body: tools.body outputParameters: - type: object mapping: $. - name: merge-user-attributes description: Merge user attributes hints: readOnly: false destructive: false idempotent: false call: personalize-edge-user-attributes.mergeuserattributes with: body: tools.body outputParameters: - type: object mapping: $.