Set up a website's AI agent
update_ai_agentTurns a website's AI agent on or off and sets what it knows. A new source_url is read again within a minute (knowledge.refreshing), and every night; refresh: true reads it again now. Fails with plan_required on the free plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Let the agent answer visitors. | |
| refresh | No | Read source_url again now. | |
| site_id | Yes | The site's id (see list_sites). | |
| source_url | No | The one address the agent reads: the website (e.g. https://example.com), its sitemap, or a product feed. | |
| instructions | No | Notes the agent must follow and that win over the website: opening hours, delivery, returns, tone (5,000 characters max). |