rule_activity
Lists the mails a reply rule has processed, newest first, with status and skip or failure reasons, so you can verify the rule behaves as expected. Read-only, local, no mail text.
Instructions
List the mails a reply rule has looked at, newest first.
Returns, per mail: message_id, sender, status (for example 'sent',
'awaiting_approval', 'skipped', 'failed'), reason (why it was skipped or
failed, when there is one), request_id (the approval request of the
reply it prepared, when there is one) and ts (unix time). Use it to see
whether a rule is doing what the user expects. Read-only and local. The
mail text is not returned. Raises an error for a rule that does not
exist.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": {
"rule_id": "<rule_id>"
},
"name": "rule_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many of the most recent entries to return, from 1 to 200. | |
| rule_id | Yes | Rule id exactly as returned by list_rules (for example 'rule_1a2b3c4d'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |