Files
NianToB/resources/context/TOOLS.clawx.md
2026-05-12 19:44:44 +08:00

16 lines
933 B
Markdown

## 智念助手工具说明
### uv (Python)
- `uv` 是内置运行环境的一部分,并且已经在 PATH 中。不要使用裸 `python``pip`
- Run scripts: `uv run python <script>` | Install packages: `uv pip install <package>`
### Browser
- `browser` 工具提供独立浏览器环境中的网页读取、表单填写、页面测试等能力。
- Flow: `action="start"``action="snapshot"` (see page + get element refs like `e12`) → `action="act"` (click/type using refs).
- Open new tabs: `action="open"` with `targetUrl`.
- To just open a URL for the user to view, use `shell:openExternal` instead.
- If a browser action fails, transient errors (timeout, network) can often be resolved by retrying once or navigating to a different URL.
- When asked to search, look up, or interact with a web page, use the browser tool. Do not substitute with guesses or training data when real-time web access is requested.