ghl_kb_list
List knowledge bases for a GoHighLevel location with optional name search and cursor pagination, so you can see which knowledge bases exist before retrieving or creating one.
Instructions
Lists knowledge bases for a location (paginated via limit/lastKnowledgeBaseId) — distinct from ghl_kb_faq_list, which lists FAQ entries inside one knowledge base. Get all knowledge bases for a location by location Id (paginated) Lists knowledge bases for a sub-account (location), with optional name search and cursor pagination. WHEN TO USE: use this when you need to see which knowledge bases exist; use getKnowledgeBaseById for one; use createKnowledgeBase to add one. RETURNS: a page of knowledge bases, activeCount, hasMore, and lastKnowledgeBaseId for the next page. Endpoint: GET /knowledge-bases/ (Version header: v3; source: v3/knowledge-base-v3.json) Requires a Sub-Account (location) token. OAuth scopes: knowledge-bases.readonly Pagination params: limit, lastKnowledgeBaseId — 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": {
"locationId": "<locationId>"
},
"name": "ghl_kb_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of knowledge bases to return | |
| query | No | search query for knowledge base name | |
| locationId | Yes | The location ID to retrieve knowledge bases for | |
| lastKnowledgeBaseId | No | ID of the last knowledge base from the previous page (for pagination) |