ghl_blog_check_url_slug_exists
Checks if a blog post URL slug already exists for a location and helps confirm uniqueness before publishing.
Instructions
Check url slug The "Check url slug" API checks whether a blog post url slug is already in use for the location. Call it before publishing a blog post. Endpoint: GET /blogs/posts/url-slug-exists (Version header: v3; source: v3/blogs-v3.json) Requires a Sub-Account (location) token. OAuth scopes: blogs/check-slug.readonly
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": {
"urlSlug": "<urlSlug>",
"locationId": "<locationId>"
},
"name": "ghl_blog_check_url_slug_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | No | Identifier of the existing post to exclude from the uniqueness check | |
| urlSlug | Yes | URL slug to check for uniqueness | |
| locationId | Yes | Sub-account (location) identifier the slug is being checked under |