collections_add_website
Add a website to a knowledge collection. Its pages are indexed in the background (sitemap first, else links on the same host) and kept current.
Pass path_prefix (e.g. '/help') to index only one section. Check progress with collections.list_websites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Website address, e.g. 'https://example.com' | |
| max_pages | No | Maximum pages to index (1-500, default 100) | |
| path_prefix | No | Only index pages under this path, e.g. '/help'. OMIT for the whole site. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| collection_id | Yes | ID of the knowledge collection | |
| refresh_interval | No | How often to re-index automatically (default weekly) | weekly |