ktm agents adapters

List, enable, disable and configure an agent's runtime-controllable adapters, including ADB bridge settings, using the ktm agents adapters command.

List, toggle and configure an agent's runtime-controllable adapters

Usage

ktm agents adapters [flags]

Subcommands

disable

Stop a controllable adapter on an agent (terminates any work in progress)

enable

Start a controllable adapter on an agent (no agent restart)

get

Show an adapter's settings, their types and which can be changed

list

List an agent's controllable adapters and their state

set

Change an adapter's settings on an agent, or for one phone

Details

Runtime adapter control for a smartphone agent.

Some agent features can be driven while the agent runs — started and stopped, and their settings changed, without a restart. The ADB bridge (adapter name: adb_bridge) is the first one. Settings apply either to the whole agent or, with --resource, to a single phone.

Use 'get' to discover what an adapter exposes: each setting's type, its current value, the accepted values, and whether it can be changed at all (some are shown for diagnosis only).

Runtime changes are ephemeral: after an agent restart, the agent's own configuration decides again.

--agent takes either of the agent's identifiers: its hostname or its UUID (the HOSTNAME and UUID columns of 'ktm agents list', or the AGENT column of 'ktm adb status'). The --resource value is a phone serial — the same identifier 'ktm adb connect' takes. For the ADB bridge specifically, 'ktm adb enable|disable' are equivalent shortcuts.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on