list_ci_classes
Discover available CI classes in ServiceNow CMDB by listing subclasses under a specified parent class. Use this to explore the class hierarchy before running queries.
Instructions
List available CMDB classes from the Data Model Navigator.
Returns the class hierarchy under a given parent class. Results are cached for 1 hour to avoid repeated queries to the sys_db_object table.
Use this tool to discover which CI classes exist in the instance before running queries, or to explore the CMDB class hierarchy.
Args: parent_class: Parent class to list children of. Defaults to cmdb_ci (all CMDB classes). Use a more specific parent like cmdb_ci_server to see only server subclasses. limit: Maximum number of classes to return (default 100). offset: Pagination offset for retrieving subsequent pages of results.
Returns: JSON object with "count" and "classes" (list of class dicts with name, label, parent class, and whether the class has children).
Note: offset-based pagination may shift if classes are added or removed between calls. For stable enumeration, fetch all classes in a single call with a higher limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_class | No | cmdb_ci | |
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |