add_check_to_asset
Add a compliance check to an asset under a specific parent control. Specify the asset, parent control, check name, and description.
Instructions
Add a new control and a new check to an asset under a specified parent control. The check will be attached to newly created control beneath the parent control.
Args: - assetId (str): Asset id. - parentControlId (str): Parent control id under which the check will be added. - checkName (str): Name of the check to be added. - checkDescription (str): Description of the check to be added.
Returns: - success (bool): Indicates if the check was added successfully. - error (Optional[str]): An error message if any issues occurred during the addition.
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": {
"assetId": "<assetId>",
"parentControlId": "<parentControlId>",
"checkName": "<checkName>",
"checkDescription": "<checkDescription>"
},
"name": "add_check_to_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | ||
| parentControlId | Yes | ||
| checkName | Yes | ||
| checkDescription | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||