trigger_rule
Signed webhook rules that wake a Process instance (org admin). create returns the webhook path and a signing secret shown once. Sign {timestamp}.{delivery_id}.{body} with HMAC-SHA256 and send X-TeamShared-Timestamp, X-TeamShared-Delivery and X-TeamShared-Signature: v1=<hex>; a verified delivery appends trigger.fired to the run's timeline once per delivery id.
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": {
"action": "<action>"
},
"name": "trigger_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rule name (create) | |
| match | No | JSON pointer -> value the body must equal (create), max 10 | |
| action | Yes | create | enable | disable | list | |
| run_id | No | Fixed Process run UUID to wake (create) | |
| source | No | webhook (default), email or github (create) | webhook |
| capture | No | JSON pointers whose scalar values land on the timeline (max 10) | |
| agent_id | No | email rules: only mail to this agent's inbox | |
| trigger_id | No | Rule UUID (enable, disable) | |
| github_repo | No | github rules: only this owner/name (optional) | |
| run_id_path | No | JSON pointer in the body that holds the run id, e.g. /case/id | |
| subject_tag | No | email rules: a subject containing [tag:<run uuid>] wakes that run | |
| github_events | No | github rules: event.action names, e.g. pull_request.closed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||