AgentSkillsCN

bluetooth-skill

控制 Android 蓝牙——启用、禁用蓝牙,查询蓝牙设备状态,并列出已配对的设备。

SKILL.md
--- frontmatter
name: bluetooth-skill
description: Control Android Bluetooth - enable, disable, get status, and list paired devices.
allowed-tools: bluetooth_automation
metadata:
  author: machina
  version: "1.0"
  category: android
  icon: "📱"
  color: "#0EA5E9"

Bluetooth Automation Tool

Control Bluetooth on Android devices.

How It Works

This skill provides instructions for the Bluetooth Automation tool node. Connect the Bluetooth Automation node to Zeenie's input-tools handle to enable Bluetooth control.

bluetooth_automation Tool

Control Bluetooth settings and get device information.

Schema Fields

FieldTypeRequiredDescription
actionstringYesAction to perform (see below)

Actions

ActionDescription
statusGet Bluetooth status and paired devices
enableTurn Bluetooth on
disableTurn Bluetooth off

Examples

Get Bluetooth status:

json
{
  "action": "status"
}

Enable Bluetooth:

json
{
  "action": "enable"
}

Disable Bluetooth:

json
{
  "action": "disable"
}

Response Formats

Status response:

json
{
  "success": true,
  "service": "bluetooth_automation",
  "action": "status",
  "data": {
    "enabled": true,
    "discovering": false,
    "name": "My Phone",
    "address": "AA:BB:CC:DD:EE:FF",
    "paired_devices": [
      {
        "name": "AirPods Pro",
        "address": "11:22:33:44:55:66",
        "type": "audio",
        "bonded": true
      },
      {
        "name": "Car Stereo",
        "address": "77:88:99:AA:BB:CC",
        "type": "audio",
        "bonded": true
      }
    ]
  }
}

Enable/Disable response:

json
{
  "success": true,
  "service": "bluetooth_automation",
  "action": "enable",
  "data": {
    "message": "Bluetooth enabled successfully"
  }
}

Response Fields

FieldDescription
enabledBluetooth radio is on
discoveringScanning for new devices
nameDevice Bluetooth name
addressDevice Bluetooth MAC address
paired_devicesList of bonded devices

Paired Device Fields

FieldDescription
nameDevice name
addressDevice MAC address
typeDevice type (audio, computer, phone, etc.)
bondedCurrently paired

Use Cases

Use CaseActionDescription
Check BluetoothstatusSee if BT is on and paired devices
Toggle Bluetoothenable/disableControl BT radio
List devicesstatusGet paired device list
Battery savingdisableTurn off when not needed

Common Workflows

Connect to car

  1. Check Bluetooth status
  2. If not enabled, enable it
  3. Car should auto-connect if paired

Battery saving mode

  1. Check Bluetooth status
  2. If no audio playing and no connected devices
  3. Disable Bluetooth to save battery

Setup Requirements

  1. Connect the Bluetooth Automation node to Zeenie's input-tools handle
  2. Android device must be paired
  3. Bluetooth permission required on device