ghl_opportunities_get
Fetch all opportunities for a location. Supports filtering by pipeline and stage, plus pagination.
Instructions
Get all opportunities for a location
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": {
"locationId": "<locationId>"
},
"name": "ghl_opportunities_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 100 | |
| offset | No | 0 | |
| stageId | No | Filter by stage ID (optional) | |
| locationId | Yes | Location ID (uses GHL_LOCATION_ID if omitted) | |
| pipelineId | No | Filter by pipeline ID (optional) |