open_file
Open any file on macOS using the default application or specify a custom app to launch it.
Instructions
Open a file with the default or specified application.
Args: path: Path to the file app_name: Optional application name to open with
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 | ||
| app_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |