List Knowledge Bases
list_knowledge_basesList knowledge bases from a ServiceNow instance. Filter by active status or encoded query to find specific KBs before browsing articles.
Instructions
List knowledge bases on a ServiceNow instance. Returns knowledge base records from the kb_knowledge_base table with optional filtering by active status and encoded query. Use this to discover available KBs before browsing articles or categories.
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. | |
| query | No | Optional encoded query to filter knowledge bases (e.g., "titleLIKEIT" to find KBs with "IT" in the title). | |
| active | No | Filter by active status. Omit to return all. | |
| limit | No | Maximum number of records to return (default 20). | |
| offset | No | Number of records to skip for pagination (default 0). |