# open_checked_url_async

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/_links/open_checked_url_async)

Open a URL after applying the shared URL safety check.

## Signature

```python
open_checked_url_async(
    url: str,
    *,
    app: App,
    notify_on_success: bool = False,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `url` | `str` | Yes | The URL to validate and open. |
| `app` | `App` | Yes | App used to post browser-open notifications. |
| `notify_on_success` | `bool` | No | Whether to post an informational toast when the browser accepts the URL. (default: `False`) |

## Returns

`bool`

`True` when the URL passed safety checks and the browser accepted it;

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2f56309d821db4a0d06ee03959cf842c91b7f228/libs/code/deepagents_code/tui/widgets/_links.py#L143)