ghl_blog_post_list
Lists blog posts for a given blog ID, supporting pagination, status filtering, and keyword search across titles, descriptions, slugs, and categories.
Instructions
Lists all posts for a given blogId (operationId get-blog-post) — not a single-post fetch. Requires blogId + limit; paginated. Get Blog posts by Blog ID The "Get Blog posts by Blog ID" API returns the blog posts for a given blog site. Use searchTerm to search across post title, description, url slug and category name. Endpoint: GET /blogs/posts/all (Version header: v3; source: v3/blogs-v3.json) Requires a Sub-Account (location) token. OAuth scopes: blogs/posts.readonly Pagination params: limit, offset — 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>",
"limit": "<limit>",
"offset": "<offset>",
"blogId": "<blogId>"
},
"name": "ghl_blog_post_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Maximum number of records to return (0-50) | |
| blogId | Yes | Identifier of the blog site whose posts are being listed | |
| offset | Yes | Number of records to skip for pagination | |
| status | No | Filter by publication status | |
| locationId | Yes | Sub-account (location) identifier whose posts are being listed | |
| searchTerm | No | Free-text search across post title, description, url slug and category name |