select_file
Open a native file picker dialog to select files with options for custom prompts, default directory, file type filters, and multiple selections on macOS devices.
Instructions
Open native file picker dialog
Input Schema
Name | Required | Description | Default |
---|---|---|---|
defaultLocation | No | Optional default directory path | |
fileTypes | No | Optional file type filter (e.g., {"public.image": ["png", "jpg"]}) | |
multiple | No | Whether to allow multiple selection | |
prompt | No | Optional prompt message |