Check proposed router rules without saving: lists rule problems, replays recorded ticket activity under the saved and the proposed rules, and routes optional sample facts
summer_router_rules_testCheck proposed router rules without saving: lists rule problems, replays recorded ticket activity under the saved and the proposed rules, and routes optional sample facts. Changes nothing.
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": {
"company": "<company>"
},
"name": "summer_router_rules_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Replay recorded ticket activity from the last 7 (default) or 30 days. | |
| rules | No | Proposed rules to check. Omit to check the saved rules. The rules document: { version: 1, intake: [...], activity: [...] }. Intake rules { id, description, enabled?, route: "file", emailType, match: { senderDomains?, senderAddresses?, onlyMessage?, automatic?, vendor?, subject?, subjectNot?, body?, bodyNot? } } file a new email without a ticket; route: "join_ticket" (no emailType) adds a vendor email about one order number to the open ticket that already holds that number, and opens a ticket otherwise. Activity rules { id, description, enabled?, route: "ignore", match: { sources, orderStatuses?, eventKinds?, eventSummary?, handledBy? } } skip the agent when every new ticket item matches. automatic: true matches mail a machine wrote; vendor: true matches mail from one of the company's pharmacies or clinical partners. Patterns are case-insensitive regular expressions. | |
| intake | No | A sample new email to route. | |
| company | Yes | ||
| activity | No | Sample ticket activity items to route. |