Get Knowledge Base Details
get_knowledge_baseRetrieve details for a ServiceNow knowledge base by sys_id, including article count and categories, to assess its scope before browsing contents.
Instructions
Get details of a specific knowledge base by sys_id, including the total number of articles and categories. Use this to understand the scope of a KB before browsing its contents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sys_id": "<sys_id>"
},
"name": "get_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sys_id | Yes | The sys_id of the knowledge base. | |
| 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. |