# Interface NodeHookContext

Context passed to node hooks (preconditions and verification). Provides read-only access to current execution state.

interface NodeHookContext {
nodeId: string;
state: Readonly<GraphState>;
stepNumber: number;
}

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:25

##### Index

### Properties

nodeId
state
stepNumber

## Properties

### `Readonly` nodeId

nodeId: string

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:26

### `Readonly` state

state: Readonly<GraphState>

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:27

### `Readonly` stepNumber

stepNumber: number

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:28