File Operations MCP Server

remove_directory

Delete a directory by specifying its path. Optionally, remove its contents recursively using the recursive parameter. Part of the File Operations MCP Server for managing files and directories efficiently.

Instructions

Remove a directory

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the directory to remove
recursiveNoRemove directory contents recursively

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the directory to remove", "type": "string" }, "recursive": { "default": false, "description": "Remove directory contents recursively", "type": "boolean" } }, "required": [ "path" ], "type": "object" }

You must be authenticated.

Other Tools from File Operations MCP Server

Related Tools

ID: 7b750si00d