# update_plugins

> **Function** in `deepagents_code`

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

Update installed plugins to their marketplace versions.

## Signature

```python
update_plugins(
    plugin_ids: Collection[str] = (),
    *,
    check_only: bool = False,
) -> PluginUpdateResult
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `plugin_ids` | `Collection[str]` | No | Plugins to update; every installed plugin when empty. (default: `()`) |
| `check_only` | `bool` | No | Report available updates without installing them. (default: `False`) |

## Returns

`PluginUpdateResult`

Update outcome.

---

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