naftiko: 1.0.0-alpha2 info: label: Loops OpenAPI Spec — Contact properties description: 'Loops OpenAPI Spec — Contact properties. 2 operations. Lead operation: Create a contact property. Self-contained Naftiko capability covering one Loops business surface.' tags: - Loops - Contact properties created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LOOPS_API_KEY: LOOPS_API_KEY capability: consumes: - type: http namespace: loops-contact-properties baseUri: https://app.loops.so/api/v1 description: Loops OpenAPI Spec — Contact properties business capability. Self-contained, no shared references. resources: - name: contacts-properties path: /contacts/properties operations: - name: post method: POST description: Create a contact property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: get method: GET description: Get a list of contact properties outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: list in: query type: string description: \"all\" (default) or \"custom\" authentication: type: bearer token: '{{env.LOOPS_API_KEY}}' exposes: - type: rest namespace: loops-contact-properties-rest port: 8080 description: REST adapter for Loops OpenAPI Spec — Contact properties. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contacts/properties name: contacts-properties description: REST surface for contacts-properties. operations: - method: POST name: post description: Create a contact property call: loops-contact-properties.post with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: get description: Get a list of contact properties call: loops-contact-properties.get with: list: rest.list outputParameters: - type: object mapping: $. - type: mcp namespace: loops-contact-properties-mcp port: 9090 transport: http description: MCP adapter for Loops OpenAPI Spec — Contact properties. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-contact-property description: Create a contact property hints: readOnly: false destructive: false idempotent: false call: loops-contact-properties.post with: body: tools.body outputParameters: - type: object mapping: $. - name: get-list-contact-properties description: Get a list of contact properties hints: readOnly: true destructive: false idempotent: true call: loops-contact-properties.get with: list: tools.list outputParameters: - type: object mapping: $.