set_rules
Replace the workspace's rules (start from get_rules). They act on tickets that arrive from now on; what a rule does is shown in the ticket as done by the system. The away message needs working hours (set_reply_times). Owner or admin; Pro and higher.
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": {
"hand_out": "<hand_out>",
"hand_out_to_user_ids": "<hand_out_to_user_ids>",
"tag_rules": "<tag_rules>",
"away": "<away>",
"away_message": "<away_message>"
},
"name": "set_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| away | Yes | Tell visitors who write outside working hours (set with set_reply_times): true to switch it on. | |
| hand_out | Yes | Hand new live tickets out in turn: true to switch it on. | |
| tag_rules | Yes | Tags added when a ticket arrives, from what its form was answered with. This replaces the list. | |
| away_message | Yes | What they are told, up to 500 characters. Shown as text under "sent"; never mailed. | |
| hand_out_limits | No | The most open tickets each of them holds at once (1 to 500), by id from list_teammates; someone left out takes any number. Leave this out to keep the numbers as they are. | |
| close_after_days | No | Close a ticket that has waited on the customer this many days (3 to 90). Leave out to never close them. | |
| hand_out_when_room | No | A ticket that found everyone full, once someone has room: "auto" hands it out by itself, "button" waits for an owner or admin to press Hand out. Leave this out to keep it as it is. | |
| hand_out_to_user_ids | Yes | The people tickets are handed to in turn: ids from list_teammates. | |
| hand_out_counts_waiting | No | Whether a person's number counts the tickets they hold that wait on the customer too, not only the open ones. Leave this out to keep it as it is. |