Get Opportunity
affinity_get_opportunityRetrieve a single opportunity's basic details including ID, name, and associated list ID from Affinity CRM using the opportunity ID.
Instructions
Get a single opportunity by ID from Affinity CRM.
Returns basic opportunity info only (id, name, listId).
Returns (JSON): { "id": number, // Opportunity ID "name": string, // Opportunity name "listId": number // The list this opportunity belongs to }
Important: To get field data (Status, Amount, Owners, etc.), use affinity_get_list_entries with the opportunity's listId and fieldTypes: ["list"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opportunityId": "<opportunityId>"
},
"name": "affinity_get_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opportunityId | Yes | Opportunity ID (numeric). Get IDs from affinity_list_opportunities. | |
| responseFormat | No | Output format: "json" for structured data or "markdown" for human-readable. Default: "json" |