Safety check before acting on a fact
check_before_actVerify stored memory is current, adequately confident, and conflict-free before an autonomous action; returns SAFE or BLOCKED with reasons to prevent irreversible mistakes.
Instructions
Ask whether it's SAFE to take an autonomous action based on what memory knows about subject.
Returns SAFE, or BLOCKED with explicit reasons — an unresolved conflict, confidence below the bar,
a value that's gone stale, or one that just changed. Call this before any irreversible action
(a payment, an email, a config change) so the agent never silently acts on bad memory. Tune the
policy via the params (e.g. min_confidence=0.9, max_staleness_days=90 for high-stakes actions).
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": {
"subject": "<subject>"
},
"name": "check_before_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| subject | Yes | ||
| user_id | No | default | |
| agent_id | No | ||
| min_confidence | No | ||
| require_active | No | ||
| block_on_flagged | No | ||
| max_staleness_days | No | ||
| block_on_recent_change_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |