# Interface FirewallPolicyContext

Context provided to policy rules for evaluation.

interface FirewallPolicyContext {
toolName: string;
args: unknown;
mode: ExecutionMode;
artifacts?: Map<string, FirewallArtifact<unknown>>;
workflowId?: string;
allowedPaths?: readonly string[];
}

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:55

##### Index

### Properties

toolName
args
mode
artifacts?
workflowId?
allowedPaths?

## Properties

### `Readonly` toolName

toolName: string

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:56

### `Readonly` args

args: unknown

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:57

### `Readonly` mode

mode: ExecutionMode

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:58

### `Optional` `Readonly` artifacts

artifacts?: Map<string, FirewallArtifact<unknown>>

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:59

### `Optional` `Readonly` workflowId

workflowId?: string

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:60

### `Optional` `Readonly` allowedPaths

allowedPaths?: readonly string[]

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:61