> ## Documentation Index
> Fetch the complete documentation index at: https://ikun.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Browser Tools

> WebBrowser Tools 使 Agent 能够通过网络浏览器打开 URL。

## 示例

```python cookbook/tools/webbrowser_tools.py theme={null}
from agno.agent import Agent
from agno.models.google import Gemini
from agno.tools.duckduckgo import DuckDuckGoTools
from agno.tools.webbrowser import WebBrowserTools

agent = Agent(
    model=Gemini("gemini-2.0-flash"),
    tools=[WebBrowserTools(), DuckDuckGoTools()],
    instructions=[
        "使用 DuckDuckGo 查找相关网站和页面"
        "使用网络浏览器打开该网站"
    ],
    show_tool_calls=True,
    markdown=True,
)
agent.print_response("查找一篇解释 MCP 的文章，并在浏览器中打开它。")
```

## Toolkit Functions

| Function    | Description     |
| ----------- | --------------- |
| `open_page` | 在网络浏览器中打开一个 URL |
