File & Folder Operations
Open, save, copy, delete, rename files and folders; manage project resources
| Activity | What it does |
|---|---|
| Check for File | Checks whether a file or directory exists. If it does, the output will be true; otherwise, it will be false. |
| Copy File | Copies a file from its current location to a new one. |
| Create Directory | Create a directory at the given path, including any missing parent directories (idempotent mkdir -p). By default, succee |
| Delete Directory | Recursively delete a directory and all its contents. Missing paths are ignored by default (safe to call on a directory t |
| Delete File | Deletes a file from a specified location. |
| Delete Resource | Permanently deletes a resource from the project. |
| Download Resource | Downloads a resource file from the project to a local path. |
| Get Folder Files | Returns the full paths of all files located within a specified folder. |
| Get Resource Info | Retrieves detailed information about a specific resource. |
| List Resources | Lists all available resources in the project with optional filtering. |
| Open File | Opens a file using the system's default application for that file type. |
| Read File Content | Reads the entire contents of a file and returns it as a string. Inverse of Save to File. |
| Rename File | Changes the name of a file. |
| Save Image | Save an image from a base64 string or data URL to a file. Use this for images captured from web pages or screenshots. If |
| Save to File | Save content to a file. Enable 'Create directories' to automatically create any missing parent directories in the path. |
| Update Resource | Updates an existing resource. |
| Upload Resource | Uploads a file as a resource to the project, making it available for use throughout the workflow. |