List campaigns
ghl_list_campaignsList marketing campaigns by location to retrieve campaign IDs for adding contacts. Filter by status like 'published' to target active campaigns.
Instructions
List marketing campaigns in a location. Use a campaign id with ghl_add_contact_to_campaign.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ghl_list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter by status, e.g. published. | |
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |