# check_optional_tools

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/main/check_optional_tools)

Check for recommended external tools and return missing tool names.

Skips tools that the user has suppressed via
`[warnings].suppress` in `config.toml`.

## Signature

```python
check_optional_tools(
    *,
    config_path: Path | None = None,
) -> list[str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `config_path` | `Path \| None` | No | Path to config file.  Defaults to `~/.deepagents/config.toml`. (default: `None`) |

## Returns

`list[str]`

List of missing tool names (e.g. `["ripgrep"]`).

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4869645403fe9ce57df6067417fdefc6bf509fe0/libs/cli/deepagents_cli/main.py#L124)