# claim_broken_install_notices

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/discovery/claim_broken_install_notices)

Return broken installs that have not yet been shown in this process.

Several consumers (skills, hooks, MCP, the plugin manager) run discovery
independently. Routing user-facing notices through this claim keeps each
broken install to one warning per process while leaving other discovery
warnings untouched. A successful `reinstall_plugin` releases the claim.

## Signature

```python
claim_broken_install_notices(
    broken: tuple[BrokenPluginInstall, ...],
) -> tuple[BrokenPluginInstall, ...]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `broken` | `tuple[BrokenPluginInstall, ...]` | Yes | Broken installs from a discovery result. |

## Returns

`tuple[BrokenPluginInstall, ...]`

The subset not previously claimed, in input order.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/6a8d452d70f9bcb978e6bd44831dda093ecbe928/libs/code/deepagents_code/plugins/discovery.py#L814)