search_cmdb
Find configuration items in ServiceNow CMDB by name, class, environment, or support group to get exact CI names before referencing them.
Instructions
Search the CMDB for configuration items (servers, applications, databases, network devices).
Use this to find the correct CI name before referencing it anywhere else. CI names are exact strings such as "PAY-APP-01"; do not invent them.
Args: name: full or partial CI name. ci_class: e.g. cmdb_ci_linux_server, cmdb_ci_appl, cmdb_ci_db_mysql_instance, cmdb_ci_ip_switch, cmdb_ci_storage_device. environment: production, staging, development. support_group: the group that owns the CI. encoded_query: raw encoded query, overrides the other filters. limit: maximum rows (1-20).
Use get_ci for the full detail of one item, and get_ci_relationships to understand what depends on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| limit | No | ||
| ci_class | No | ||
| environment | No | ||
| encoded_query | No | ||
| support_group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |