neuron_stop_channel_session
Stop the active Baileys session for the channel and disconnect from WhatsApp. The channel can be restarted later.
This record as markdown: /tools/io-github-conquext-neuron/neuron-stop-channel-session.md
What neuron_stop_channel_session does on Neuron
AI agents invoke neuron_stop_channel_session to trigger actions in Neuron. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique identifier (UUID) of the Baileys channel to stop |
Parameters from the server's own tool schema.
Why neuron_stop_channel_session is rated High
This tool executes a command to halt an active session and disconnect from WhatsApp. While the action is technically reversible (the channel 'can be restarted later'), the immediate effect is to interrupt service and connectivity. This fits the Execute category as it triggers an external operation whose effects depend on which channel is targeted.
From the tool's definition The tool description explicitly states 'Stop the active Baileys session for the channel and disconnect from WhatsApp.' This action triggers an external operation (disconnection from WhatsApp) that changes the operational state of a communication channel.
Attacks that exploit this kind of access
The rule that runs neuron_stop_channel_session safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Neuron, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For neuron_stop_channel_session, this is the rule to start with:
neuron_stop_channel_session stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Neuron, apply this rule, and every neuron_stop_channel_session call is checked against it from then on.
Questions about neuron_stop_channel_session
Stop the active Baileys session for the channel and disconnect from WhatsApp. The channel can be restarted later. It is categorised as a Execute tool in the Neuron MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
neuron_stop_channel_session accepts 1 parameter: id. Required: id. The full parameter table on this page comes from the server's own tool schema.
Register the Neuron MCP server in PolicyLayer and add a rule for neuron_stop_channel_session: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Neuron. Nothing to install.
neuron_stop_channel_session is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the neuron_stop_channel_session rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for neuron_stop_channel_session. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
neuron_stop_channel_session is provided by the Neuron MCP server (neuron-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Neuron, and thousands of servers like it.
Across the catalogue