Function: evaluateNodeDenyNetworkGuard()
ts
function evaluateNodeDenyNetworkGuard(
node,
input,
_ctx
): PolicyGuardEvaluationResult;Defined in: node/src/executors/node-guard-executors.ts:70
Evaluates a NodeDenyNetworkNode (type: 'node:deny-network') policy guard against proposed tool effects.
Blocks any ToolEffect representing outbound network access and reports the violating effects.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | NodeDenyNetworkNode | Passive deny-network policy guard AST node. |
input | PolicyGuardEvaluationInput | Tool name, proposed effects, and active capability leases. |
_ctx | StepExecutionContext | Active step execution context. |
Returns
Guard evaluation result and any violated network effects.