Salesloft · Capability
Salesloft — Opportunities
Salesloft — Opportunities. 2 operations. Lead operation: Salesloft List Opportunities. Self-contained Naftiko capability covering one Salesloft business surface.
What You Can Do
GET
Get
— Salesloft List Opportunities
/v1/opportunities
GET
Get
— Salesloft Fetch an Opportunity
/v1/opportunities/{id}
MCP Tools
salesloft-list-opportunities
Salesloft List Opportunities
read-only
idempotent
salesloft-fetch-opportunity
Salesloft Fetch an Opportunity
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Salesloft — Opportunities
description: 'Salesloft — Opportunities. 2 operations. Lead operation: Salesloft List Opportunities. Self-contained Naftiko
capability covering one Salesloft business surface.'
tags:
- Salesloft
- Opportunities
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
SALESLOFT_API_KEY: SALESLOFT_API_KEY
capability:
consumes:
- type: http
namespace: salesloft-opportunities
baseUri: http://{{salesloft_api_base_url}}
description: Salesloft — Opportunities business capability. Self-contained, no shared references.
resources:
- name: opportunities
path: /opportunities
operations:
- name: get
method: GET
description: Salesloft List Opportunities
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ids
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: crm_id
in: query
type: string
- name: person_id
in: query
type: string
- name: tag
in: query
type: string
- name: tag_id
in: query
type: string
- name: account_crm_id
in: query
type: string
- name: account_id
in: query
type: string
- name: associated_account_id
in: query
type: string
- name: owner_crm_id
in: query
type: string
- name: opportunity_type
in: query
type: string
- name: owner_id
in: query
type: string
- name: name
in: query
type: string
- name: stage_name
in: query
type: string
- name: created_date[gt]
in: query
type: string
- name: created_date[gte]
in: query
type: string
- name: created_date[lt]
in: query
type: string
- name: created_date[lte]
in: query
type: string
- name: is_closed
in: query
type: string
- name: is_won
in: query
type: string
- name: most_recent_cadence_id
in: query
type: string
- name: scoped_fields
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: opportunities-id
path: /opportunities/{id}
operations:
- name: get
method: GET
description: Salesloft Fetch an Opportunity
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-opportunities-rest
port: 8080
description: REST adapter for Salesloft — Opportunities. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/opportunities
name: opportunities
description: REST surface for opportunities.
operations:
- method: GET
name: get
description: Salesloft List Opportunities
call: salesloft-opportunities.get
with:
ids: rest.ids
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]
crm_id: rest.crm_id
person_id: rest.person_id
tag: rest.tag
tag_id: rest.tag_id
account_crm_id: rest.account_crm_id
account_id: rest.account_id
associated_account_id: rest.associated_account_id
owner_crm_id: rest.owner_crm_id
opportunity_type: rest.opportunity_type
owner_id: rest.owner_id
name: rest.name
stage_name: rest.stage_name
created_date[gt]: rest.created_date[gt]
created_date[gte]: rest.created_date[gte]
created_date[lt]: rest.created_date[lt]
created_date[lte]: rest.created_date[lte]
is_closed: rest.is_closed
is_won: rest.is_won
most_recent_cadence_id: rest.most_recent_cadence_id
scoped_fields: rest.scoped_fields
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/opportunities/{id}
name: opportunities-id
description: REST surface for opportunities-id.
operations:
- method: GET
name: get
description: Salesloft Fetch an Opportunity
call: salesloft-opportunities.get
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: salesloft-opportunities-mcp
port: 9090
transport: http
description: MCP adapter for Salesloft — Opportunities. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: salesloft-list-opportunities
description: Salesloft List Opportunities
hints:
readOnly: true
destructive: false
idempotent: true
call: salesloft-opportunities.get
with:
ids: tools.ids
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]
crm_id: tools.crm_id
person_id: tools.person_id
tag: tools.tag
tag_id: tools.tag_id
account_crm_id: tools.account_crm_id
account_id: tools.account_id
associated_account_id: tools.associated_account_id
owner_crm_id: tools.owner_crm_id
opportunity_type: tools.opportunity_type
owner_id: tools.owner_id
name: tools.name
stage_name: tools.stage_name
created_date[gt]: tools.created_date[gt]
created_date[gte]: tools.created_date[gte]
created_date[lt]: tools.created_date[lt]
created_date[lte]: tools.created_date[lte]
is_closed: tools.is_closed
is_won: tools.is_won
most_recent_cadence_id: tools.most_recent_cadence_id
scoped_fields: tools.scoped_fields
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-opportunity
description: Salesloft Fetch an Opportunity
hints:
readOnly: true
destructive: false
idempotent: true
call: salesloft-opportunities.get
with:
id: tools.id
outputParameters:
- type: object
mapping: $.