naftiko: 1.0.0-alpha2 info: label: Salesloft — Groups description: 'Salesloft — Groups. 5 operations. Lead operation: Salesloft Create a Group. Self-contained Naftiko capability covering one Salesloft business surface.' tags: - Salesloft - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESLOFT_API_KEY: SALESLOFT_API_KEY capability: consumes: - type: http namespace: salesloft-groups baseUri: http://{{salesloft_api_base_url}} description: Salesloft — Groups business capability. Self-contained, no shared references. resources: - name: groups path: /groups operations: - name: post method: POST description: Salesloft Create a Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: get method: GET description: Salesloft List Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: string - name: sort_by in: query type: string - name: sort_direction in: query type: string - name: groups-id path: /groups/{id} operations: - name: get method: GET description: Salesloft Fetch a Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: put method: PUT description: Salesloft Update a Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Salesloft Deletes a Group by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true authentication: type: bearer token: '{{env.SALESLOFT_API_KEY}}' exposes: - type: rest namespace: salesloft-groups-rest port: 8080 description: REST adapter for Salesloft — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/groups name: groups description: REST surface for groups. operations: - method: POST name: post description: Salesloft Create a Group call: salesloft-groups.post with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: get description: Salesloft List Groups call: salesloft-groups.get with: ids: rest.ids sort_by: rest.sort_by sort_direction: rest.sort_direction outputParameters: - type: object mapping: $. - path: /v1/groups/{id} name: groups-id description: REST surface for groups-id. operations: - method: GET name: get description: Salesloft Fetch a Group call: salesloft-groups.get with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: put description: Salesloft Update a Group call: salesloft-groups.put with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Salesloft Deletes a Group by ID call: salesloft-groups.delete with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: salesloft-groups-mcp port: 9090 transport: http description: MCP adapter for Salesloft — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesloft-create-group description: Salesloft Create a Group hints: readOnly: false destructive: false idempotent: false call: salesloft-groups.post with: body: tools.body outputParameters: - type: object mapping: $. - name: salesloft-list-groups description: Salesloft List Groups hints: readOnly: true destructive: false idempotent: true call: salesloft-groups.get with: ids: tools.ids sort_by: tools.sort_by sort_direction: tools.sort_direction outputParameters: - type: object mapping: $. - name: salesloft-fetch-group description: Salesloft Fetch a Group hints: readOnly: true destructive: false idempotent: true call: salesloft-groups.get with: id: tools.id outputParameters: - type: object mapping: $. - name: salesloft-update-group description: Salesloft Update a Group hints: readOnly: false destructive: false idempotent: true call: salesloft-groups.put with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: salesloft-deletes-group-id description: Salesloft Deletes a Group by ID hints: readOnly: false destructive: true idempotent: true call: salesloft-groups.delete with: id: tools.id outputParameters: - type: object mapping: $.