# HumanInterrupt

> **Class** in `langgraph.prebuilt`

📖 [View in docs](https://reference.langchain.com/python/langgraph.prebuilt/interrupt/HumanInterrupt)

Represents an interrupt triggered by the graph that requires human intervention.

This is passed to the `interrupt` function when execution is paused for human input.

## Signature

```python
HumanInterrupt()
```

## Description

**Example:**

```python
# Extract a tool call from the state and create an interrupt request
request = HumanInterrupt(
    action_request=ActionRequest(
        action="run_command",  # The action being requested
        args={"command": "ls", "args": ["-l"]}  # Arguments for the action
    ),
    config=HumanInterruptConfig(
        allow_ignore=True,    # Allow skipping this step
        allow_respond=True,   # Allow text feedback
        allow_edit=False,     # Don't allow editing
        allow_accept=True     # Allow direct acceptance
    ),
    description="Please review the command before execution"
)
# Send the interrupt request and get the response
response = interrupt([request])[0]
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    action_request: ActionRequest,
    config: HumanInterruptConfig,
    description: str | None,
)
```

| Name | Type |
|------|------|
| `action_request` | `ActionRequest` |
| `config` | `HumanInterruptConfig` |
| `description` | `str \| None` |


## Properties

- `action_request`
- `config`
- `description`

## ⚠️ Deprecated

HumanInterrupt has been moved to `langchain.agents.interrupt`. Please update your import to `from langchain.agents.interrupt import HumanInterrupt`.

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/398d6cc59d4cf81ab23c09f037e9f521c3fedcd6/libs/prebuilt/langgraph/prebuilt/interrupt.py#L47)