naftiko: 1.0.0-alpha2 info: label: Unified CRM API — StandardObjects description: 'Unified CRM API — StandardObjects. 4 operations. Lead operation: Create standard object record. Self-contained Naftiko capability covering one Supaglue business surface.' tags: - Supaglue - StandardObjects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPAGLUE_API_KEY: SUPAGLUE_API_KEY capability: consumes: - type: http namespace: crm-standardobjects baseUri: https://api.supaglue.io/crm/v2 description: Unified CRM API — StandardObjects business capability. Self-contained, no shared references. resources: - name: standard_objects-object_name-records path: /standard_objects/{object_name}/records operations: - name: createstandardobjectrecord method: POST description: Create standard object record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: liststandardobjectrecords method: GET description: List standard object records outputRawFormat: json outputParameters: - name: result type: object value: $. - name: standard_objects-object_name-records-record_id path: /standard_objects/{object_name}/records/{record_id} operations: - name: updatestandardobjectrecord method: PATCH description: Update standard object record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: getstandardobjectrecord method: GET description: Get standard object record outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.SUPAGLUE_API_KEY}}' placement: header exposes: - type: rest namespace: crm-standardobjects-rest port: 8080 description: REST adapter for Unified CRM API — StandardObjects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/standard-objects/{object-name}/records name: standard-objects-object-name-records description: REST surface for standard_objects-object_name-records. operations: - method: POST name: createstandardobjectrecord description: Create standard object record call: crm-standardobjects.createstandardobjectrecord with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: liststandardobjectrecords description: List standard object records call: crm-standardobjects.liststandardobjectrecords outputParameters: - type: object mapping: $. - path: /v1/standard-objects/{object-name}/records/{record-id} name: standard-objects-object-name-records-record-id description: REST surface for standard_objects-object_name-records-record_id. operations: - method: PATCH name: updatestandardobjectrecord description: Update standard object record call: crm-standardobjects.updatestandardobjectrecord with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getstandardobjectrecord description: Get standard object record call: crm-standardobjects.getstandardobjectrecord outputParameters: - type: object mapping: $. - type: mcp namespace: crm-standardobjects-mcp port: 9090 transport: http description: MCP adapter for Unified CRM API — StandardObjects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-standard-object-record description: Create standard object record hints: readOnly: false destructive: false idempotent: false call: crm-standardobjects.createstandardobjectrecord with: body: tools.body outputParameters: - type: object mapping: $. - name: list-standard-object-records description: List standard object records hints: readOnly: true destructive: false idempotent: true call: crm-standardobjects.liststandardobjectrecords outputParameters: - type: object mapping: $. - name: update-standard-object-record description: Update standard object record hints: readOnly: false destructive: false idempotent: true call: crm-standardobjects.updatestandardobjectrecord with: body: tools.body outputParameters: - type: object mapping: $. - name: get-standard-object-record description: Get standard object record hints: readOnly: true destructive: false idempotent: true call: crm-standardobjects.getstandardobjectrecord outputParameters: - type: object mapping: $.