macos_pick_file
Select files on macOS using a native file picker dialog. Specify file types, default locations, and custom prompts to retrieve file paths for system operations.
Instructions
Open a file picker dialog and return the selected file path. Returns null if cancelled.
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": "macos_pick_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Dialog prompt text | |
| defaultLocation | No | Default directory to open in | |
| fileTypes | No | Allowed file extensions (e.g., ['txt', 'md', 'pdf']) |