Delete a project file
dreamagent_delete_fileWRITE ACTION — delete one source file from a DreamAgent project. Hidden/credential files (.env, .git, keys) are rejected. By default the deletion is immediately committed and pushed (so it is recorded in session history & version history) — deleted files stay recoverable via git history / version restore.
CONFIRM BEFORE CALLING — tell the user which file will be deleted and call only with confirm=true after they agree.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| file_path | Yes | ||
| project_id | Yes | ||
| auto_commit | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |