Delete cmdb relation
servicenow_delete_cmdb_relationDeletes a ServiceNow CMDB relation for a specified Configuration Item (CI) using its class name, CI sys_id, and relation sys_id.
Instructions
Deletes the relation for the specified configuration item (CI).
:param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI. :type sys_id: str :param rel_sys_id: Sys_id of the relation to remove. :type rel_sys_id: str
:return: Response containing the operation result. :rtype: Response
:raises MissingParameterError: If className, sys_id, or rel_sys_id is not provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "servicenow_delete_cmdb_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| source | No | ||
| sys_id | No | ||
| className | No | ||
| attributes | No | ||
| rel_sys_id | No | ||
| sysparm_limit | No | ||
| sysparm_query | No | ||
| api_parameters | No | ||
| sysparm_offset | No | ||
| inbound_relations | No | ||
| outbound_relations | No |