Open file/folder with a specific app
open_path_withOpen a file or folder with a specific application, overriding the OS default handler. Specify both path and app to launch, e.g., open a folder in VS Code or a file in Chrome.
Instructions
Open a file or folder using a SPECIFIC application (e.g. open a folder in VS Code, or a file in Chrome), instead of the OS default handler. Both path and app are required - if the user did not say which app to use, ask them before calling this tool rather than guessing. Use open_path instead if no specific app was requested.
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>",
"app": "<app>"
},
"name": "open_path_with"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App to open it with, e.g. "vscode", "chrome" - required, do not guess | |
| path | Yes | File/folder path, or a friendly folder name like "documents" |