Open a file, link or app
openOpens files, folders, URLs, or apps on macOS using the system open command. Use it to launch documents, websites, or applications directly from the terminal.
Instructions
Open a file or folder, an http(s) URL, or an app (macOS open). It runs outside the sandbox: a file can be a script and a link can carry data out, so open only what the user asked for.
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": "open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | an app name such as Safari: opens target with it, or just the app when there is no target | |
| target | No | a file or folder path, or an http(s) URL |