naftiko: 1.0.0-alpha2 info: label: Salesloft — Accounts description: 'Salesloft — Accounts. 5 operations. Lead operation: Salesloft List Accounts. Self-contained Naftiko capability covering one Salesloft business surface.' tags: - Salesloft - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESLOFT_API_KEY: SALESLOFT_API_KEY capability: consumes: - type: http namespace: salesloft-accounts baseUri: http://{{salesloft_api_base_url}} description: Salesloft — Accounts business capability. Self-contained, no shared references. resources: - name: accounts path: /accounts operations: - name: get method: GET description: Salesloft List Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: string - name: crm_id in: query type: string - name: tag in: query type: string - name: tag_id in: query type: string - name: created_at[gt] in: query type: string - name: created_at[gte] in: query type: string - name: created_at[lt] in: query type: string - name: created_at[lte] 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: domain in: query type: string - name: website in: query type: string - name: archived in: query type: string - name: name in: query type: string - name: account_stage_id in: query type: string - name: account_tier_id in: query type: string - name: owner_id in: query type: string - name: owner_is_active in: query type: string - name: last_contacted[gt] in: query type: string - name: last_contacted[gte] in: query type: string - name: last_contacted[lt] in: query type: string - name: last_contacted[lte] in: query type: string - name: custom_fields in: query type: string - name: industry in: query type: string - name: country in: query type: string - name: state in: query type: string - name: city in: query type: string - name: owner_crm_id in: query type: string - name: locales in: query type: string - name: user_relationships 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: post method: POST description: Salesloft Create an Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: accounts-53457352 path: /accounts/53457352 operations: - name: put method: PUT description: Salesloft Update an Existing Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: accounts-id path: /accounts/{id} operations: - name: get method: GET description: Salesloft Fetch an Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: delete method: DELETE description: Salesloft Delete an Account 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-accounts-rest port: 8080 description: REST adapter for Salesloft — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts name: accounts description: REST surface for accounts. operations: - method: GET name: get description: Salesloft List Accounts call: salesloft-accounts.get with: ids: rest.ids crm_id: rest.crm_id tag: rest.tag tag_id: rest.tag_id created_at[gt]: rest.created_at[gt] created_at[gte]: rest.created_at[gte] created_at[lt]: rest.created_at[lt] created_at[lte]: rest.created_at[lte] 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] domain: rest.domain website: rest.website archived: rest.archived name: rest.name account_stage_id: rest.account_stage_id account_tier_id: rest.account_tier_id owner_id: rest.owner_id owner_is_active: rest.owner_is_active last_contacted[gt]: rest.last_contacted[gt] last_contacted[gte]: rest.last_contacted[gte] last_contacted[lt]: rest.last_contacted[lt] last_contacted[lte]: rest.last_contacted[lte] custom_fields: rest.custom_fields industry: rest.industry country: rest.country state: rest.state city: rest.city owner_crm_id: rest.owner_crm_id locales: rest.locales user_relationships: rest.user_relationships 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: $. - method: POST name: post description: Salesloft Create an Account call: salesloft-accounts.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/53457352 name: accounts-53457352 description: REST surface for accounts-53457352. operations: - method: PUT name: put description: Salesloft Update an Existing Account call: salesloft-accounts.put with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{id} name: accounts-id description: REST surface for accounts-id. operations: - method: GET name: get description: Salesloft Fetch an Account call: salesloft-accounts.get with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Salesloft Delete an Account call: salesloft-accounts.delete with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: salesloft-accounts-mcp port: 9090 transport: http description: MCP adapter for Salesloft — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesloft-list-accounts description: Salesloft List Accounts hints: readOnly: true destructive: false idempotent: true call: salesloft-accounts.get with: ids: tools.ids crm_id: tools.crm_id tag: tools.tag tag_id: tools.tag_id created_at[gt]: tools.created_at[gt] created_at[gte]: tools.created_at[gte] created_at[lt]: tools.created_at[lt] created_at[lte]: tools.created_at[lte] 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] domain: tools.domain website: tools.website archived: tools.archived name: tools.name account_stage_id: tools.account_stage_id account_tier_id: tools.account_tier_id owner_id: tools.owner_id owner_is_active: tools.owner_is_active last_contacted[gt]: tools.last_contacted[gt] last_contacted[gte]: tools.last_contacted[gte] last_contacted[lt]: tools.last_contacted[lt] last_contacted[lte]: tools.last_contacted[lte] custom_fields: tools.custom_fields industry: tools.industry country: tools.country state: tools.state city: tools.city owner_crm_id: tools.owner_crm_id locales: tools.locales user_relationships: tools.user_relationships 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-create-account description: Salesloft Create an Account hints: readOnly: false destructive: false idempotent: false call: salesloft-accounts.post with: body: tools.body outputParameters: - type: object mapping: $. - name: salesloft-update-existing-account description: Salesloft Update an Existing Account hints: readOnly: false destructive: false idempotent: true call: salesloft-accounts.put with: body: tools.body outputParameters: - type: object mapping: $. - name: salesloft-fetch-account description: Salesloft Fetch an Account hints: readOnly: true destructive: false idempotent: true call: salesloft-accounts.get with: id: tools.id outputParameters: - type: object mapping: $. - name: salesloft-delete-account description: Salesloft Delete an Account hints: readOnly: false destructive: true idempotent: true call: salesloft-accounts.delete with: id: tools.id outputParameters: - type: object mapping: $.