apple_finder
Manage Finder files, folders, trash, disks, and tags. Perform actions like open, reveal, rename, move, copy, delete, and set wallpaper.
Instructions
Manage Finder: files, folders, trash, wallpaper, disks, tags. Actions: open_folder, reveal, desktop_files, empty_trash, trash_count, eject_disk, eject_all, set_wallpaper, create_folder, file_info, rename, move, copy, delete, create_alias, get_selection, tags, set_tag, list_folder, disk_info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag name to set | |
| name | No | Name of the disk to eject | |
| path | No | Path to the folder to open | |
| action | Yes | open_folder: Open a folder in Finder; reveal: Reveal a file in Finder; desktop_files: List files on the desktop; empty_trash: Empty the Trash; trash_count: Count items in the Trash; eject_disk: Eject a specific disk; eject_all: Eject all mounted disks; set_wallpaper: Set the desktop wallpaper; create_folder: Create a new folder; file_info: Get info about a file (size, type, modification date); rename: Rename a file or folder; move: Move a file or folder to a new location; copy: Copy a file or folder to a new location; delete: Move a file or folder to the Trash; create_alias: Create a Finder alias (symlink-like shortcut); get_selection: Get the currently selected files in Finder; tags: Get Finder tags of a file; set_tag: Set a Finder tag on a file; list_folder: List contents of a folder (up to 30 entries); disk_info: Get info about mounted volumes and disks | |
| confirm | No | Set to true to confirm a protected/destructive action. Without this, protected actions return a preview instead of executing. | |
| location | No | Location (default: desktop) | |
| new_name | No | New name for the file | |
| destination | No | Destination folder path |