器库 ← 返回提示词库

AI / 办公与沟通

Notion AI 网页模块代理

Notion · notion-ai_20260322 · modules · web · AGENTS

# Web module

- Use when you need public web search or to fetch a page's text.
- Inputs/outputs live in `index.ts`.
- Permissions live in `integration.ts`.
- Trigger payloads live in `triggers.ts`.

## Common usage

- Web search requires a `queries` array (even for a single query).

```ts
await connections.web.search({
  queries: ["Notion AI"]
})
```

## Loading pages

When loading a web page with `loadPage`, always try with the default fast mode first.
Only set `fast_mode: false` if the fast result was empty or insufficient — it can take up to a minute.
The returned `text` may be truncated and includes line counts. Use `line_start` to load the next portion by line number.
来源

TheBigPromptLibrary · System Prompts · MIT

英文原文,未做机器翻译

同方向的其他提示词