test_policy
Dry-run a policy against a mock email result to see which rule matches and how the result is transformed before applying it.
Instructions
Dry-run a policy against a mock result. Shows matched rule and how the result was transformed.
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_id": "<policy_id>",
"test_result": "<test_result>"
},
"name": "test_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | ||
| test_result | Yes |