Open a file or URL
open_fileOpen a file or URL with the default application on the computer (like double-clicking it). Use for images, PDFs, URLs or any file you want the user to see.
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 | Absolute path to a file, or a URL starting with http:// or https://. | |
| device | No | Device name. Optional when the account has only one online device. |