List Sites
list_sitesLists your websites with the primary site, agent-readiness score, latest audit summary, the lead-capture config save_site writes (capture), snippet (the exact pasteable snippet the Websites page shows, or null), snippetUnavailable (top level: why snippets are withheld, in the Websites page's words, or null once the PostHog reverse proxy is live), snippetNeedsRepaste: true when the snippet on the site's live pages no longer matches its settings, such as different Consent Mode defaults or a Tag Manager container or Cookiebot id that was removed, aiAssistantFile (the exact AI assistant tracking file the Websites page shows for that site, or null), and aiAssistantFileUnavailable (top level: why there is no file, in the Websites page's words, or null when the workspace has its own PostHog project). When snippetNeedsRepaste is true, give the operator that site's snippet to paste in place of the old one on every page; if snippet is null, send them to sitesUrl. aiAssistantFile is a Next.js 16+ proxy.ts that records AI assistant fetches in the workspace's PostHog project; its header comment says where to save it, or how to merge it into an existing proxy.ts. After the operator deploys it, check_ai_assistant_tracking confirms the install. Does not change anything. Related: get_site_audit, check_site_readiness, check_ai_assistant_tracking, save_site.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sites | Yes | ||
| appUrl | Yes | ||
| snippetUnavailable | Yes | ||
| aiAssistantFileUnavailable | Yes |