Open a file, URL or app
openLaunch files, folders, URLs, or apps on macOS using their default handler; specify a path or URL, or set app=true to start an application by name.
Instructions
Open a file/folder path or URL with its default handler, or launch an app by name (set app=true).
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": {
"target": "<target>"
},
"name": "open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | If true, treat target as an application name to launch. | |
| target | Yes | A path, a URL (https://…), or — with app=true — an application name. |