Turn off site analytics
disable_analyticsStop the site's built-in visitor analytics. By default only collection stops and the connection is kept, so enable_analytics later resumes the same history. delete_history: true also deletes the site's analytics collection itself — permanent: past reports can no longer be read, and re-enabling starts from nothing. Use it only when the owner explicitly asks to delete their analytics history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "disable_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| delete_history | No | Also permanently delete the collected analytics history (default false) |