open_file
Open files or directories using system default applications or specified apps on macOS, enabling direct access to content without manual navigation.
Instructions
Open a file or directory using the system default application (macOS open command)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path to the file or directory to open | |
| application | No | Optional: specific application to open the file with (e.g., "Preview", "TextEdit") |