jupyter_restart_kernel

Restart a kernel (clears all state).

Server XLMCP xlydiansoftware/aix
Category Execute
Risk class High
Parameters 00 required

What jupyter_restart_kernel does on XLMCP

AI agents invoke jupyter_restart_kernel to trigger actions in XLMCP. 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.

Why jupyter_restart_kernel needs a policy

jupyter_restart_kernel triggers real processes with real consequences. An agent gone sideways doesn't fire it once — it starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Questions about jupyter_restart_kernel

What does the jupyter_restart_kernel tool do? +

Restart a kernel (clears all state). It is categorised as a Execute tool in the XLMCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on jupyter_restart_kernel? +

Register the XL MCP server in PolicyLayer and add a rule for jupyter_restart_kernel: 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 XLMCP. Nothing to install.

What risk level is jupyter_restart_kernel? +

jupyter_restart_kernel is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit jupyter_restart_kernel? +

Yes. Add a rate_limit block to the jupyter_restart_kernel 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.

How do I block jupyter_restart_kernel completely? +

Set action: deny in the PolicyLayer policy for jupyter_restart_kernel. 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.

What MCP server provides jupyter_restart_kernel? +

jupyter_restart_kernel is provided by the XL MCP server (xlydiansoftware/aix). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.