# Function snapshotContext

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- snapshotContext(context: WorkflowExecutionContext): Record<string, unknown>

  Creates a snapshot of the current context state. Useful for debugging and logging.

  #### Parameters

  - context: WorkflowExecutionContext

    The execution context

  #### Returns Record<string, unknown>

  A plain object snapshot

  - Defined in packages/nexus-agents/src/workflows/execution-context.ts:201