create_cleanup_rule
Create an inactive Table Cleanup Rule for a Data Management Policy. It deletes live records only after explicit activation. [Write]
Instructions
Create an inactive Table Cleanup Rule for a Data Management Policy. It deletes live records only after explicit activation. [Write]
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": {
"policy_sys_id": "<policy_sys_id>",
"condition": "<condition>",
"age_seconds": "<age_seconds>"
},
"name": "create_cleanup_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | ||
| age_seconds | Yes | ||
| clean_audit | No | ||
| match_field | No | Date/time field used for age calculation; defaults to sys_created_on. | |
| policy_sys_id | Yes | ||
| cascade_delete | No | ||
| clean_journals | No |