select_file
Open a native file picker dialog to select files from your Mac. Specify prompt, default location, file types, and allow multiple selection.
Instructions
Open native file picker dialog
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "select_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Optional prompt message | |
| 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 |