Search Knowledge Base
servicenow_search_knowledgeSearch ServiceNow knowledge base articles by keyword, category, or filter and retrieve matching articles with title, category, author, state, and view count.
Instructions
Search the ServiceNow knowledge base for articles by keyword, category, or filter.
Args:
search_text (string): Text to search for in article titles and content
query (string): Encoded query for additional filters (e.g., 'workflow_state=published', 'category.labelLIKEnetwork')
knowledge_base (string): sys_id of a specific knowledge base to search within
limit / offset: Pagination
response_format: Output format
Returns: Matching KB articles with title, category, author, state, and view count
Examples:
Search VPN articles → search_text="VPN"
Search published password resets → search_text="password reset", query="workflow_state=published"
By category → query="category.labelLIKEsecurity"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–100, default 20) | |
| query | No | Encoded query (default: published articles) | workflow_state=published |
| offset | No | Number of results to skip for pagination (default 0) | |
| search_text | No | Text to search in article titles and content | |
| knowledge_base | No | sys_id of a specific knowledge base to search within | |
| response_format | No | Output format: 'markdown' (default) for human-readable or 'json' for structured data | markdown |