productivity
BrowserStack CLI for AI Agents
Use the BrowserStack CLI from KosmoKrator to call BrowserStack tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.BrowserStack CLI Setup
BrowserStack can be configured headlessly with `kosmokrator integrations:configure browserstack`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure browserstack --set username="$BROWSERSTACK_USERNAME" --set access_key="$BROWSERSTACK_ACCESS_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor browserstack --json
kosmokrator integrations:status --json Credentials
Authentication type: basic auth basic_auth. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
username | BROWSERSTACK_USERNAME | Text text | yes | Username |
access_key | BROWSERSTACK_ACCESS_KEY | Secret secret | yes | Access Key |
url | BROWSERSTACK_URL | Text text | no | Automate API URL |
cloud_url | BROWSERSTACK_CLOUD_URL | Text text | no | App Automate API URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call browserstack.browserstack_get_plan '{}' --json kosmo integrations:browserstack browserstack_get_plan '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs browserstack --json
kosmo integrations:docs browserstack.browserstack_get_plan --json
kosmo integrations:schema browserstack.browserstack_get_plan --json
kosmo integrations:search "BrowserStack" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
browserstack.browserstack_get_plan
Get Automate plan and parallel session details.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_get_plan '{}' --json kosmo integrations:browserstack browserstack_get_plan '{}' --json browserstack.browserstack_list_browsers
List Automate browsers and devices.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_list_browsers '{}' --json kosmo integrations:browserstack browserstack_list_browsers '{}' --json browserstack.browserstack_list_projects
List Automate projects.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_list_projects '{}' --json kosmo integrations:browserstack browserstack_list_projects '{}' --json browserstack.browserstack_get_project
Get one Automate project.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_get_project '{}' --json kosmo integrations:browserstack browserstack_get_project '{}' --json browserstack.browserstack_update_project
Update Automate project details.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_update_project '{}' --json kosmo integrations:browserstack browserstack_update_project '{}' --json browserstack.browserstack_delete_project
Delete one Automate project.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_delete_project '{}' --json kosmo integrations:browserstack browserstack_delete_project '{}' --json browserstack.browserstack_list_builds
List Automate builds.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_list_builds '{}' --json kosmo integrations:browserstack browserstack_list_builds '{}' --json browserstack.browserstack_update_build
Update Automate build name or tag.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_update_build '{}' --json kosmo integrations:browserstack browserstack_update_build '{}' --json browserstack.browserstack_delete_build
Delete one Automate build.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_delete_build '{}' --json kosmo integrations:browserstack browserstack_delete_build '{}' --json browserstack.browserstack_delete_builds
Delete multiple Automate builds.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_delete_builds '{}' --json kosmo integrations:browserstack browserstack_delete_builds '{}' --json browserstack.browserstack_list_build_sessions
List sessions in an Automate build.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_list_build_sessions '{}' --json kosmo integrations:browserstack browserstack_list_build_sessions '{}' --json browserstack.browserstack_get_session
Get one Automate session.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_get_session '{}' --json kosmo integrations:browserstack browserstack_get_session '{}' --json browserstack.browserstack_update_session
Update one Automate session.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_update_session '{}' --json kosmo integrations:browserstack browserstack_update_session '{}' --json browserstack.browserstack_delete_session
Delete one Automate session.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_delete_session '{}' --json kosmo integrations:browserstack browserstack_delete_session '{}' --json browserstack.browserstack_get_session_logs
Get text logs for one session.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_get_session_logs '{}' --json kosmo integrations:browserstack browserstack_get_session_logs '{}' --json browserstack.browserstack_get_session_network_logs
Get HAR network logs for one session.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_get_session_network_logs '{}' --json kosmo integrations:browserstack browserstack_get_session_network_logs '{}' --json browserstack.browserstack_upload_app
Upload an App Automate app by public URL.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_upload_app '{}' --json kosmo integrations:browserstack browserstack_upload_app '{}' --json browserstack.browserstack_list_recent_apps
List recently uploaded App Automate apps.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_list_recent_apps '{}' --json kosmo integrations:browserstack browserstack_list_recent_apps '{}' --json browserstack.browserstack_delete_app
Delete an uploaded App Automate app.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_delete_app '{}' --json kosmo integrations:browserstack browserstack_delete_app '{}' --json browserstack.browserstack_api_get
Call a safe relative BrowserStack GET path.
read - Parameters
- none
kosmo integrations:call browserstack.browserstack_api_get '{}' --json kosmo integrations:browserstack browserstack_api_get '{}' --json browserstack.browserstack_api_post
Call a safe relative BrowserStack POST path.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_api_post '{}' --json kosmo integrations:browserstack browserstack_api_post '{}' --json browserstack.browserstack_api_put
Call a safe relative BrowserStack PUT path.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_api_put '{}' --json kosmo integrations:browserstack browserstack_api_put '{}' --json browserstack.browserstack_api_delete
Call a safe relative BrowserStack DELETE path.
write - Parameters
- none
kosmo integrations:call browserstack.browserstack_api_delete '{}' --json kosmo integrations:browserstack browserstack_api_delete '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
browserstack.browserstack_get_plan 0 parameters
kosmo integrations:schema browserstack.browserstack_get_plan --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_list_browsers 0 parameters
kosmo integrations:schema browserstack.browserstack_list_browsers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_list_projects 0 parameters
kosmo integrations:schema browserstack.browserstack_list_projects --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_get_project 0 parameters
kosmo integrations:schema browserstack.browserstack_get_project --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_update_project 0 parameters
kosmo integrations:schema browserstack.browserstack_update_project --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_delete_project 0 parameters
kosmo integrations:schema browserstack.browserstack_delete_project --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_list_builds 0 parameters
kosmo integrations:schema browserstack.browserstack_list_builds --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_update_build 0 parameters
kosmo integrations:schema browserstack.browserstack_update_build --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_delete_build 0 parameters
kosmo integrations:schema browserstack.browserstack_delete_build --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_delete_builds 0 parameters
kosmo integrations:schema browserstack.browserstack_delete_builds --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_list_build_sessions 0 parameters
kosmo integrations:schema browserstack.browserstack_list_build_sessions --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_get_session 0 parameters
kosmo integrations:schema browserstack.browserstack_get_session --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_update_session 0 parameters
kosmo integrations:schema browserstack.browserstack_update_session --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_delete_session 0 parameters
kosmo integrations:schema browserstack.browserstack_delete_session --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_get_session_logs 0 parameters
kosmo integrations:schema browserstack.browserstack_get_session_logs --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_get_session_network_logs 0 parameters
kosmo integrations:schema browserstack.browserstack_get_session_network_logs --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_upload_app 0 parameters
kosmo integrations:schema browserstack.browserstack_upload_app --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_list_recent_apps 0 parameters
kosmo integrations:schema browserstack.browserstack_list_recent_apps --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_delete_app 0 parameters
kosmo integrations:schema browserstack.browserstack_delete_app --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_api_get 0 parameters
kosmo integrations:schema browserstack.browserstack_api_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_api_post 0 parameters
kosmo integrations:schema browserstack.browserstack_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_api_put 0 parameters
kosmo integrations:schema browserstack.browserstack_api_put --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
browserstack.browserstack_api_delete 0 parameters
kosmo integrations:schema browserstack.browserstack_api_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.