invariance_signal_emit
Emit manual signals (alerts) attached to runs or nodes to flag noteworthy events for review and trigger downstream automation.
Instructions
Emit a manual signal (alert/notification) — typically attached to a run/node and used to flag noteworthy events for review or downstream automation. severity defaults to "info" if omitted. run_id/node_id auto-fill from INVARIANCE_RUN_ID/INVARIANCE_NODE_ID env vars when present.
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": {
"title": "<title>"
},
"name": "invariance_signal_emit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Arbitrary signal payload as a JSON-encoded string (any JSON value). Example: {"observed_cost_usd":7.42,"threshold":5} | |
| type | No | Free-form signal category, e.g. "policy_violation", "cost_spike", "pii_leak". | |
| title | Yes | Short headline for the signal (shown in dashboards). | |
| run_id | No | Run this signal is associated with. Falls back to $INVARIANCE_RUN_ID. | |
| message | No | Longer human-readable description. | |
| node_id | No | Specific node this signal is attached to (within run_id). Falls back to $INVARIANCE_NODE_ID. | |
| severity | No | Defaults to "info" when omitted. |