# neuron_clear_chat

Delete messages (and their media) from chats; the conversations stay, empty. Chats a human is currently handling, or that a flow is waiting on, are skipped. Only Neuron's copy — nothing is deleted from WhatsApp. DRY RUN by default. To clear without picking conversations, pass execute: true AND confirmChats equal to the number of chats from the preview. Irreversible.

Agent View of the PolicyLayer registry record for `neuron_clear_chat`. HTML page: https://policylayer.com/tools/io-github-conquext-neuron/neuron-clear-chat

## Facts

- Tool: `neuron_clear_chat`
- Server: Neuron (`neuron-mcp-server`) — https://policylayer.com/tools/io-github-conquext-neuron.md
- Install: `npx -y neuron-mcp-server`
- Homepage: https://github.com/conquext/neuron
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 7
- Recommended policy verdict: Hidden

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `execute` | boolean | no | Actually clear. Default false = preview only. |
| `chatKind` | string | no | DMs, groups, or both (default both). |
| `mediaTypes` | array | no | Only these media types (media clears only). |
| `confirmChats` | integer | no | Required for workspace-wide clears: the 'conversations' number from the preview. |
| `alsoBotMemory` | boolean | no | Also clear what the bot learned from these chats (insights, conversation summary). |
| `olderThanDays` | object | no | Only messages older than this many days. Omit/null for all ages. |
| `conversationIds` | array | no | Limit to these conversations. Omit for the whole workspace. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "neuron_clear_chat",
    "arguments": {}
  }
}
```

## Why neuron_clear_chat is rated Critical

An AI agent that decides to call neuron_clear_chat doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Neuron is gone. There is no undo for destructive operations.

## Use case

AI agents call neuron_clear_chat to permanently remove resources in Neuron, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Neuron:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "neuron_clear_chat"
  ]
}
```

## Other tools on Neuron (400)

- `neuron_cancel_approval` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-approval.md
- `neuron_cancel_booking` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-booking.md
- `neuron_cancel_flow_run` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-flow-run.md
- `neuron_cancel_scheduled_message` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-cancel-scheduled-message.md
- `neuron_clear_media` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-clear-media.md
- `neuron_delete_ad_request` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-ad-request.md
- `neuron_delete_blog_post` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-blog-post.md
- `neuron_delete_bot` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-bot.md
- `neuron_delete_broadcast` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-broadcast.md
- `neuron_delete_calendar` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-calendar.md
- `neuron_delete_campaign` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-campaign.md
- `neuron_delete_channel` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-channel.md
- `neuron_delete_contact` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-contact.md
- `neuron_delete_contact_list` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-contact-list.md
- `neuron_delete_event` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-event.md
- `neuron_delete_event_type` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-event-type.md
- `neuron_delete_flow` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-flow.md
- `neuron_delete_flow_run` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-flow-run.md
- `neuron_delete_kb_entry` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-kb-entry.md
- `neuron_delete_knowledge_base` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-knowledge-base.md
- `neuron_delete_list_campaign` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-list-campaign.md
- `neuron_delete_message` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-message.md
- `neuron_delete_newsletter` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-newsletter.md
- `neuron_delete_outbound_webhook` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-outbound-webhook.md
- `neuron_delete_override` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-override.md
- `neuron_delete_persona` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-persona.md
- `neuron_delete_product` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-product.md
- `neuron_delete_sms_campaign` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-sms-campaign.md
- `neuron_delete_social_channel` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-social-channel.md
- `neuron_delete_task` — Destructive — https://policylayer.com/tools/io-github-conquext-neuron/neuron-delete-task.md
- …and 370 more: https://policylayer.com/tools/io-github-conquext-neuron.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-conquext-neuron · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-conquext-neuron
