/servicenow-cmdb | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
servicenow_cmdb_add_ci_relation | Add a relationship to a CI |
servicenow_cmdb_create_configuration_item | Create a configuration item |
servicenow_cmdb_delete_ci_relation | Delete a CI relationship |
servicenow_cmdb_get_class_metadata | Get CMDB class metadata |
servicenow_cmdb_get_configuration_item | Get a configuration item |
servicenow_cmdb_list_configuration_items | List configuration items by class |
servicenow_cmdb_update_configuration_item | Update a configuration item |
servicenow_cmdb_add_ci_relation
Add a relationship to a CI Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name of the source CI |
sys_id | string | Yes | — | sys_id of the source CI |
target | object | Yes | — | Target CI for the relationship |
type | object | Yes | — | Relationship type |
servicenow_cmdb_create_configuration_item
Create a configuration item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name for the new CI (e.g., cmdb_ci_server, cmdb_ci_linux_server) |
attributes | object | No | — | CI field values (e.g., {“name”: “server01”, “ip_address”: “10.0.0.1”, “os”: “Linux”}) |
inbound_relations | object[] | No | — | Inbound relationships to create |
outbound_relations | object[] | No | — | Outbound relationships to create |
servicenow_cmdb_delete_ci_relation
Delete a CI relationship Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name of the source CI |
sys_id | string | Yes | — | sys_id of the source CI |
rel_sys_id | string | Yes | — | sys_id of the relationship record to delete |
servicenow_cmdb_get_class_metadata
Get CMDB class metadata Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name to get metadata for (e.g., cmdb_ci_server) |
servicenow_cmdb_get_configuration_item
Get a configuration item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name of the CI |
sys_id | string | Yes | — | sys_id of the CI to retrieve |
servicenow_cmdb_list_configuration_items
List configuration items by class Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name (e.g., cmdb_ci_server, cmdb_ci_linux_server, cmdb_ci_database) |
sysparm_query | string | No | — | Encoded query to filter CIs |
sysparm_limit | integer | No | — | Maximum number of CIs to return |
sysparm_offset | integer | No | — | Starting index for pagination |
servicenow_cmdb_update_configuration_item
Update a configuration item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | Yes | — | CMDB class name of the CI |
sys_id | string | Yes | — | sys_id of the CI to update |
attributes | object | No | — | CI attributes to update (e.g., {“ip_address”: “10.0.0.2”, “os_version”: “Ubuntu 22.04”}) |

