Learn from a website
add_websiteTeach Aide a website or help center: Aide crawls the pages at and under baseUrl in the background and answers customers from them once imported. Use kind website for the company's site and help_center for a Zendesk, Intercom or similar help center. Returns the knowledge source with its id and status; it imports in the background for a few minutes: say so and carry on, checking it later with get_knowledge_source. A site already added (saving the workspace's website adds it) is refused (duplicate): find its id in get_setup_status or list_knowledge_sources; retry it with reimport_knowledge_source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | `website` or `help_center`. | |
| name | No | A name for the source; the site address when omitted. | |
| baseUrl | No | The address to start from, a full URL such as `https://example.com`. | |
| maxPages | No | At most this many pages are imported (1 to 500). | |
| excludePaths | No | Path prefixes not to import, such as `/blog`. |