List Knowledge Articles
list_kb_articlesList ServiceNow knowledge article summaries with optional filters for knowledge base, category, workflow state, title search, or encoded query. Returns lightweight records without body content for efficient retrieval.
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 |
|---|---|---|---|
| limit | No | Maximum number of records to return (default 20). | |
| query | No | Optional encoded query for additional filtering. | |
| offset | No | Number of records to skip for pagination (default 0). | |
| 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. | |
| text_search | No | Search articles by title (short_description contains this text). | |
| workflow_state | No | Filter by workflow state: 'draft', 'published', or 'retired'. | |
| category_sys_id | No | Filter articles by category sys_id. | |
| knowledge_base_sys_id | No | Filter articles by knowledge base sys_id. |