CRM

Get an opportunity

Returns the record of an opportunity: the summary plus the description, the collaborators and the linked quotes.

Tool
filmo_crm_opportunities_get
Access: Read
  • crm:read
  • 120/min
  • May need an add-on
  • Server annotation: Read-only
  • Server annotation: Idempotent

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_crm_opportunities_get",
    "arguments": {
      "opportunityId": "oppo_8f2a1c"
    }
  }
}

generated from the schema

With includeHistory=true it adds stageHistory, the stage moves from most recent to oldest — it is an additional query, so it does not come by default.

Arguments

opportunityIdstringRequired

Opportunity identifier.

Limits: min length 1

Result

On success the result carries structuredContent with data and meta. These are the attributes of data.

Show the attributes of data
opportunityIdstring

identifierstring

namestring

statusstring

Available options: open, won, lost

amountstring

currencystring

pipelineIdstring

pipelineNamestring

stageIdstring

stageNamestring

stageTypestring

Available options: open, won, lost

effectiveProbabilitynumber

weightedAmountstring

daysInStageinteger

expectedCloseDatestring<date-time>

contactNamestring

companyNamestring

ownerNamestring

sourcestring

Available options: inbound_email, website_form, referral, cold_outreach, event, social, existing_customer, partner, other

createdAtstring<date-time>

updatedAtstring<date-time>

descriptionstring

versioninteger

Limits: min 1

collaboratorStaffIdsstring[]

quoteIdsstring[]

stageHistoryobject[]

Show child attributes
stageHistory.fromStageIdstring

stageHistory.toStageIdstring

stageHistory.toStatusstring

stageHistory.daysInPrevStageinteger

stageHistory.movedAtstring<date-time>

stageHistory.notestring

An error is a result with isError: true and the problem in content[0].text; there is no structuredContent. See Errors.

The same operation by REST

This tool runs GET /api/v1/crm/opportunities/{opportunityId}.

  • CRM

    Get an opportunity

    Returns the record of an opportunity: the summary plus the description, the collaborators and the linked quotes.

  • Guides

    Safe writes

    An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.

  • Guides

    Errors

    A tool error is a result with isError: true and the problem in the first text block. Branch on its code.