delete_directory
Delete a directory inside the workspace by specifying a relative path. Requires confirmation and supports recursive deletion of contents or only empty directories.
Instructions
Delete a directory inside the workspace.
Args: path: Path relative to the workspace root. confirm: Must be explicitly True; this is irreversible. recursive: If True (default), delete all contents too. If False, only succeeds when the directory is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| confirm | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||