# Runtime controls (kill switches) (/docs/security/runtime-controls)

> Switch off an agent, a tool, an integration, a workflow, an MCP server, a knowledge source, a visitor session or the whole workspace instantly, with an audited reason.

Type: how-to | Status: ga | Last reviewed: 2026-11-21 | Minimum role: admin

Runtime controls are your emergency brakes. "What you disable stops immediately for visitors, and every change is audited with your reason."

Open **Security → Security settings → Runtime controls**. Only workspace owners and admins can change them.

<Screenshot src="/media/security/runtime-controls.png" alt="The Runtime controls tab with scope, target and reason fields and the active controls table" caption="Runtime controls" captured="2026-11-01" />

## Disable something [#disable-something]

1. Choose a **Scope**:

   | Scope | Effect |
   |---|---|
   | **Entire workspace** | Pauses every assistant in this workspace |
   | **Agent** | Stops one assistant from replying to visitors |
   | **Tool** | Blocks a single tool or action from running |
   | **Integration** | Blocks every tool that uses this connection |
   | **Workflow** | Stops this workflow from being triggered |
   | **MCP server** | Blocks every tool served by this MCP server |
   | **Knowledge source** | Removes this source from assistant answers |
   | **Visitor session** | Ends one visitor's chat session (paste the session ID from the conversation) |

2. Pick the **Target** (not needed for the entire workspace).
3. Write a **Reason** (up to 500 characters), for example "suspicious traffic on the booking tool since 10:40, pausing until the vendor confirms a fix".
4. Select **Disable**. It "takes effect within about a second".

## Review and undo [#review-and-undo]

**Active controls** lists everything currently switched off: scope, target, reason and when. Use the row's actions menu to switch the thing back on. "Nothing is disabled" means all clear.

## Runtime control or the Active switch? [#runtime-control-or-the-active-switch]

- The agent **Active** switch is a normal on/off for one agent; see [Pause or switch off](/docs/agents/pause-or-switch-off).
- Runtime controls reach further (a single tool, an integration, one session) and are logged with a reason. Builders also have an *emergency switch-off* permission for an agent.

## During an incident [#during-an-incident]

1. Disable the narrowest scope that stops the harm (a tool or an integration before the whole workspace).
2. Write a clear reason.
3. Investigate in the Inbox and activity.
4. Remove the control when fixed.

---

Used for: [Security at Loopwix](https://loopwix.com/security)
