# removable_extras

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/removable_extras)

Return the selected extras this install can actually remove.

Shared by the CLI and TUI `uninstall` help so both list the same set:
receipt-selected extras minus targets removal refuses.

A directly selected extra is excluded when a selected composite also supplies
it, because removing its selector would leave its packages installed.

## Signature

```python
removable_extras(
    *,
    distribution_name: str = 'deepagents-code',
) -> list[str]
```

## Description

Propagates `ToolRequirementIntrospectionError` if the uv tool receipt cannot
be read or does not safely describe the selected extras.

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `distribution_name` | `str` | No | Name of the installed distribution to inspect. (default: `'deepagents-code'`) |

## Returns

`list[str]`

Sorted removable extra names.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/update_check.py#L3769)