open_file
Open a local file on an existing sandboxed instance's display using a specified app or default xdg-open.
Instructions
Open a local file in an app ON an existing instance's display (NOT a new instance).
If app is given, runs <app> <filepath> there (e.g. app='gimp'); otherwise tries xdg-open.
Relative paths resolve against the instance's staging folder files// (see list_files).
For BROWSER uploads use upload_file() instead. GTK apps get the same
X11 + D-Bus handling as launch_app (so they render on this display, not the host).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| filepath | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |