# DeleteThreadConfirmScreen

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/widgets/thread_selector/DeleteThreadConfirmScreen)

Confirmation modal shown before deleting a thread.

## Signature

```python
DeleteThreadConfirmScreen(
    self,
    thread_id: str,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `thread_id` | `str` | Yes | Thread ID the user is being asked to delete. |

## Extends

- `ModalScreen[bool]`

## Constructors

```python
__init__(
    self,
    thread_id: str,
) -> None
```

| Name | Type |
|------|------|
| `thread_id` | `str` |


## Properties

- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-cli/widgets/thread_selector/DeleteThreadConfirmScreen/compose)
- [`action_confirm()`](https://reference.langchain.com/python/deepagents-cli/widgets/thread_selector/DeleteThreadConfirmScreen/action_confirm)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-cli/widgets/thread_selector/DeleteThreadConfirmScreen/action_cancel)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/88c2b5cb874dc1d093acf54d2a967ba6e085c99b/libs/cli/deepagents_cli/widgets/thread_selector.py#L388)