New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

remove_cloud_connection

Disconnect the DoiT record using its exact etag and cleanupScope doit_only; customer IAM/IaC cleanup remains separate. dry_run_cloud_connection_change previews removal effects. 204 means the record is gone; a 409 cleanup_failed keeps it, and another removal attempt requires a fresh etag. A later ...

SERVERDoit SOURCE@doitintl/doit-mcp-server
Critical RISK CLASS
Category Destructive
Parameters 43 required
Recommended Hiddensee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/doit/remove-cloud-connection.md

What remove_cloud_connection does on Doit

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

ParameterTypeRequiredDescription
cleanupScope string Yes Required acknowledgement. Removes the DoiT record and DoiT-side cleanup only; customer IAM, stacks and Terraform stay customer-owned. The removal dry run expose
connectionId string Yes Exact connection `id` returned by register_cloud_connection, list_cloud_connections or get_cloud_connection. This is distinct from a cloud account, project, org
expectedEtag string Yes Exact quoted `etag` returned by the latest read or write, not a synthesized value. A stale value returns 412; retrying requires the current etag and a re-evalua
idempotencyKey string — Optional. One key per logical write. When omitted a fresh key is generated and returned as `idempotencyKey` in the result or error. A lost response or timeout c

Parameters from the server's own tool schema.

Why remove_cloud_connection is rated Critical

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

Questions about remove_cloud_connection

What does the remove_cloud_connection tool do? +

Disconnect the DoiT record using its exact etag and cleanupScope doit_only; customer IAM/IaC cleanup remains separate. dry_run_cloud_connection_change previews removal effects. 204 means the record is gone; a 409 cleanup_failed keeps it, and another removal attempt requires a fresh etag. A later 404 means already absent. Full Cloud Connect workflow: MCP resource skill://doit-cloud-connect/SKILL.md. It is categorised as a Destructive tool in the Doit MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does remove_cloud_connection accept? +

remove_cloud_connection accepts 4 parameters: cleanupScope, connectionId, expectedEtag, idempotencyKey. Required: cleanupScope, connectionId, expectedEtag. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on remove_cloud_connection? +

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

What risk level is remove_cloud_connection? +

remove_cloud_connection 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 remove_cloud_connection? +

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

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

remove_cloud_connection is provided by the Doit MCP server (@doitintl/doit-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Doit, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Doit's. Pull the full record:

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.