List User Segments
list_user_segmentsList Zendesk Help Center user segments to find the ID that controls who can view an article, then use it when creating or updating articles.
Instructions
List user segments, which set who can view an article. Each has id, name, user type and built-in flag, for user_segment_id in create_article or update_article. Who can edit: list_permission_groups. Guide admins and Help Center managers only; otherwise reuse an article's user_segment_id from get_article, or omit it on create_article for everyone.
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": "list_user_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||