agent_terminate

Remove a Ruflo-tracked agent from the registry and free its swarm slot. Use when you need to (a) clean up a spawned agent so its cost-tracking row finalizes, (b) reclaim a swarm-topology slot for another agent, or (c) end a stuck agent without restarting the whole swarm. For one-shot Task tool in...

Server Ruflo ruvnet/ruflo
Category Destructive
Risk class Critical
Parameters 00 required

What agent_terminate does on Ruflo

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

Why agent_terminate needs a policy

The tool irreversibly removes an agent from the registry, finalizes its cost-tracking row, and reclaims its swarm slot. These actions cannot be undone — once terminated, the agent's state and slot are gone. This constitutes an irreversible deletion of a running resource, placing it firmly in the Destructive category.

From the tool's definition Remove a Ruflo-tracked agent from the registry and free its swarm slot... end a stuck agent without restarting the whole swarm

Questions about agent_terminate

What does the agent_terminate tool do? +

Remove a Ruflo-tracked agent from the registry and free its swarm slot. Use when you need to (a) clean up a spawned agent so its cost-tracking row finalizes, (b) reclaim a swarm-topology slot for another agent, or (c) end a stuck agent without restarting the whole swarm. For one-shot Task tool invocations that already self-terminate, this tool is not needed. Pair with agent_list first to confirm the agentId. It is categorised as a Destructive tool in the Ruflo MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on agent_terminate? +

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

What risk level is agent_terminate? +

agent_terminate is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit agent_terminate? +

Yes. Add a rate_limit block to the agent_terminate 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 agent_terminate completely? +

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

agent_terminate is provided by the Ruflo MCP server (ruvnet/ruflo). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

agent_terminate is one line of Ruflo's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.