BluetoothTools

Provider for Bluetooth read tools: GetBluetoothStatusTool and ListPairedDevicesTool. Requires BLUETOOTH_CONNECT on API 31+ (Android S), legacy BLUETOOTH below that.

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

Both Bluetooth tools.

Link copied to clipboard

True when the version-appropriate Bluetooth permission is granted.

Link copied to clipboard

BLUETOOTH_CONNECT on API 31+, otherwise the legacy BLUETOOTH permission.