naftiko: 1.0.0-alpha2 info: label: Salesloft — Users description: 'Salesloft — Users. 3 operations. Lead operation: Salesloft List Users. Self-contained Naftiko capability covering one Salesloft business surface.' tags: - Salesloft - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESLOFT_API_KEY: SALESLOFT_API_KEY capability: consumes: - type: http namespace: salesloft-users baseUri: http://{{salesloft_api_base_url}} description: Salesloft — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: get method: GET description: Salesloft List Users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: string - name: guid in: query type: string - name: group_id in: query type: string - name: role_id in: query type: string - name: search in: query type: string - name: active in: query type: string - name: visible_only in: query type: string - name: per_page in: query type: string - name: page in: query type: string - name: include_paging_counts in: query type: string - name: has_crm_user in: query type: string - name: work_country in: query type: string - name: seat_package in: query type: string - name: managed_ar in: query type: string - name: manager_user_guid in: query type: string - name: sort_by in: query type: string - name: sort_direction in: query type: string - name: users-id path: /users/{id} operations: - name: get method: GET description: Salesloft Fetch a User 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 User 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 authentication: type: bearer token: '{{env.SALESLOFT_API_KEY}}' exposes: - type: rest namespace: salesloft-users-rest port: 8080 description: REST adapter for Salesloft — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: get description: Salesloft List Users call: salesloft-users.get with: ids: rest.ids guid: rest.guid group_id: rest.group_id role_id: rest.role_id search: rest.search active: rest.active visible_only: rest.visible_only per_page: rest.per_page page: rest.page include_paging_counts: rest.include_paging_counts has_crm_user: rest.has_crm_user work_country: rest.work_country seat_package: rest.seat_package managed_ar: rest.managed_ar manager_user_guid: rest.manager_user_guid sort_by: rest.sort_by sort_direction: rest.sort_direction outputParameters: - type: object mapping: $. - path: /v1/users/{id} name: users-id description: REST surface for users-id. operations: - method: GET name: get description: Salesloft Fetch a User call: salesloft-users.get with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: put description: Salesloft Update a User call: salesloft-users.put with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: salesloft-users-mcp port: 9090 transport: http description: MCP adapter for Salesloft — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesloft-list-users description: Salesloft List Users hints: readOnly: true destructive: false idempotent: true call: salesloft-users.get with: ids: tools.ids guid: tools.guid group_id: tools.group_id role_id: tools.role_id search: tools.search active: tools.active visible_only: tools.visible_only per_page: tools.per_page page: tools.page include_paging_counts: tools.include_paging_counts has_crm_user: tools.has_crm_user work_country: tools.work_country seat_package: tools.seat_package managed_ar: tools.managed_ar manager_user_guid: tools.manager_user_guid sort_by: tools.sort_by sort_direction: tools.sort_direction outputParameters: - type: object mapping: $. - name: salesloft-fetch-user description: Salesloft Fetch a User hints: readOnly: true destructive: false idempotent: true call: salesloft-users.get with: id: tools.id outputParameters: - type: object mapping: $. - name: salesloft-update-user description: Salesloft Update a User hints: readOnly: false destructive: false idempotent: true call: salesloft-users.put with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.