# run-hitl-gate

`station__microgram__run-hitl-gate` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

PDC: Human-in-the-Loop gate — classify actions as AUTO (agent decides), REVIEW (human reviews output), APPROVE (human must pre-approve)

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `affects_regulatory_compliance` *boolean* (required) — Input parameter: affects_regulatory_compliance
- `affects_patient_safety` *boolean* (required) — Input parameter: affects_patient_safety
- `is_irreversible` *boolean* (required) — Input parameter: is_irreversible
- `is_ai_autonomous_decision` *boolean* (required) — Input parameter: is_ai_autonomous_decision
- `scope` *string* (required) — Input parameter: scope
- `crosses_cpa_boundary` *boolean* (required) — Input parameter: crosses_cpa_boundary

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-hitl-gate",
    "arguments": {
      "affects_regulatory_compliance": false,
      "affects_patient_safety": false,
      "is_irreversible": false,
      "is_ai_autonomous_decision": false,
      "scope": "",
      "crosses_cpa_boundary": false
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/microgram__run-hitl-gate](/tools/microgram__run-hitl-gate) — HTML page
- [/tools/microgram__run-hitl-gate/json](/tools/microgram__run-hitl-gate/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
