trace_rule_execution
Check which business rules apply to an employee for a specific event. Debug why a field got a certain value by seeing rule matches and their conditions.
Instructions
Trace which business rules would apply to an employee for a given event.
Fetches the employee's current data, then checks each configured rule's conditions against that data. Shows which rules match, which don't, and why. Invaluable for debugging "why did this field get this value?"
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": {
"user_id": "<user_id>",
"event_type": "<event_type>",
"base_object": "<base_object>"
},
"name": "trace_rule_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Employee userId to trace rules for | |
| event_type | Yes | Event type: 'onSave', 'onChange', 'onInit', 'validate' | |
| base_object | Yes | Base object (e.g., 'JobInformationModel', 'CompInfoModel') | |
| data_center | No | ||
| auth_user_id | No | ||
| auth_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||