naftiko: 1.0.0-alpha2 info: label: Salesloft — Notes description: 'Salesloft — Notes. 5 operations. Lead operation: Salesloft Create a Note. Self-contained Naftiko capability covering one Salesloft business surface.' tags: - Salesloft - Notes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESLOFT_API_KEY: SALESLOFT_API_KEY capability: consumes: - type: http namespace: salesloft-notes baseUri: http://{{salesloft_api_base_url}} description: Salesloft — Notes business capability. Self-contained, no shared references. resources: - name: notes path: /notes operations: - name: post method: POST description: Salesloft Create a Note 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 Notes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: associated_with_type in: query type: string - name: associated_with_id in: query type: string - name: ids in: query type: string - name: updated_at[gt] in: query type: string - name: updated_at[gte] in: query type: string - name: updated_at[lt] in: query type: string - name: updated_at[lte] in: query type: string - name: sort_by in: query type: string - name: sort_direction 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: limit_paging_counts in: query type: string - name: notes-id path: /notes/{id} operations: - name: get method: GET description: Salesloft Fetch a Note 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 Note 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 Delete a Note 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-notes-rest port: 8080 description: REST adapter for Salesloft — Notes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/notes name: notes description: REST surface for notes. operations: - method: POST name: post description: Salesloft Create a Note call: salesloft-notes.post with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: get description: Salesloft List Notes call: salesloft-notes.get with: associated_with_type: rest.associated_with_type associated_with_id: rest.associated_with_id ids: rest.ids updated_at[gt]: rest.updated_at[gt] updated_at[gte]: rest.updated_at[gte] updated_at[lt]: rest.updated_at[lt] updated_at[lte]: rest.updated_at[lte] sort_by: rest.sort_by sort_direction: rest.sort_direction per_page: rest.per_page page: rest.page include_paging_counts: rest.include_paging_counts limit_paging_counts: rest.limit_paging_counts outputParameters: - type: object mapping: $. - path: /v1/notes/{id} name: notes-id description: REST surface for notes-id. operations: - method: GET name: get description: Salesloft Fetch a Note call: salesloft-notes.get with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: put description: Salesloft Update a Note call: salesloft-notes.put with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Salesloft Delete a Note call: salesloft-notes.delete with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: salesloft-notes-mcp port: 9090 transport: http description: MCP adapter for Salesloft — Notes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesloft-create-note description: Salesloft Create a Note hints: readOnly: false destructive: false idempotent: false call: salesloft-notes.post with: body: tools.body outputParameters: - type: object mapping: $. - name: salesloft-list-notes description: Salesloft List Notes hints: readOnly: true destructive: false idempotent: true call: salesloft-notes.get with: associated_with_type: tools.associated_with_type associated_with_id: tools.associated_with_id ids: tools.ids updated_at[gt]: tools.updated_at[gt] updated_at[gte]: tools.updated_at[gte] updated_at[lt]: tools.updated_at[lt] updated_at[lte]: tools.updated_at[lte] sort_by: tools.sort_by sort_direction: tools.sort_direction per_page: tools.per_page page: tools.page include_paging_counts: tools.include_paging_counts limit_paging_counts: tools.limit_paging_counts outputParameters: - type: object mapping: $. - name: salesloft-fetch-note description: Salesloft Fetch a Note hints: readOnly: true destructive: false idempotent: true call: salesloft-notes.get with: id: tools.id outputParameters: - type: object mapping: $. - name: salesloft-update-note description: Salesloft Update a Note hints: readOnly: false destructive: false idempotent: true call: salesloft-notes.put with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: salesloft-delete-note description: Salesloft Delete a Note hints: readOnly: false destructive: true idempotent: true call: salesloft-notes.delete with: id: tools.id outputParameters: - type: object mapping: $.