Skip to content

Self-improving AI Employees for everyone

1.7 KB
Raw Blame

Bluetooth Automation (bluetoothAutomation)

Field Value
Category android / automation
Backend handler plugin server/nodes/android/bluetooth_automation/__init__.py; dispatch via BaseNode.execute() -> shared AndroidServiceBase.invoke (@Operation("invoke"))
Tests server/tests/nodes/test_android.py
Skill (if any) server/skills/android_agent/bluetooth-skill/SKILL.md
Direct agent tool connectable to any agent's input-tools

Purpose

Bluetooth control: enable, disable, get adapter status, list paired devices.

Backend service mapping

Field Value
SERVICE_ID_MAP[bluetoothAutomation] bluetooth_automation
Default action status

Parameters

Shared parameter set only.

Logic Flow (node-specific slice)

flowchart TD
  A[Dispatch] --> B[service_id = 'bluetooth_automation']
  B --> C{action}
  C -- status --> D[POST /api/bluetooth_automation]
  C -- enable --> D
  C -- disable --> D
  C -- paired_devices --> D
  D --> E[Flatten data]

Edge cases & known limits

  • Programmatic Bluetooth enable/disable requires BLUETOOTH_CONNECT runtime permission on Android 12+; the device-side service reports the failure.
  • Shared edge cases only otherwise.

Related