delete_directory
Delete an empty directory by its workspace-relative path. For non-empty directories, set recursive=true to remove the folder and its contents; the workspace root is never deleted.
Instructions
Delete a directory below the configured workspace root. Non-empty directories require recursive=true. The workspace root itself can never be deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative directory path | |
| recursive | No | Delete the directory and all of its contents |