Open a URL or file on Android
openOpens an http(s) URL in the default browser or launches a local file on Android via Termux:API, resolving device paths while respecting Android permissions.
Instructions
Open an http(s) URL in the default browser, or open a local file with Android via Termux:API. Local paths are resolved on the device; Android permissions still apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | http(s) URL or local file path. | |
| content_type | No | MIME type for local files, e.g. text/plain. |