List Knowledge Articles
list_kb_articlesReturns lightweight summaries of knowledge articles from ServiceNow. Filter by knowledge base, category, workflow state, or title text search for efficient browsing.
Instructions
List knowledge article summaries from the kb_knowledge table. Returns lightweight records without body content for efficiency. Filter by knowledge base, category, workflow state (draft/published/retired), text search on title, or encoded query.
Use get_kb_article to retrieve the full article body content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `now-sdk auth --add` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| knowledge_base_sys_id | No | Filter articles by knowledge base sys_id. | |
| category_sys_id | No | Filter articles by category sys_id. | |
| workflow_state | No | Filter by workflow state: 'draft', 'published', or 'retired'. | |
| text_search | No | Search articles by title (short_description contains this text). | |
| query | No | Optional encoded query for additional filtering. | |
| limit | No | Maximum number of records to return (default 20). | |
| offset | No | Number of records to skip for pagination (default 0). |