ghl_location_get_all_or_email_sms_templates
Retrieve all or filtered email, SMS, or WhatsApp templates from a location. Specify type and pagination to manage large result sets.
Instructions
GET all or email/sms templates Endpoint: GET /locations/{locationId}/templates (Version header: v3; source: v3/locations-v3.json) OAuth scopes: locations/templates.readonly Pagination params: skip, limit — pass them to page through full result sets.
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": {
"originId": "<originId>",
"locationId": "<locationId>"
},
"name": "ghl_location_get_all_or_email_sms_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | 0 | |
| type | No | ||
| limit | No | 25 | |
| deleted | No | ||
| originId | Yes | Origin Id | |
| locationId | Yes | Location Id |