Skip to main content
Glama
JackXuyi

Current operating environment

getBluetoothInfo

Retrieve Bluetooth device information from the current operating environment to access connection status and hardware details.

Instructions

获取当前设备的蓝牙信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'getBluetoothInfo' tool. It uses the 'systeminformation' library (si.bluetoothDevices()) to retrieve Bluetooth device information and returns it as a JSON-formatted text response.
    case "getBluetoothInfo": { const bluetoothInfo = await si.bluetoothDevices(); return { content: [{ type: "text", text: JSON.stringify(bluetoothInfo, null, 2) }] }; }
  • src/index.ts:218-225 (registration)
    Tool registration in the listTools response, including the tool name, description, and input schema (empty object, no parameters required).
    name: "getBluetoothInfo", description: "获取当前设备的蓝牙信息", inputSchema: { type: "object", properties: {}, required: [] } },
  • Input schema definition for the 'getBluetoothInfo' tool, specifying an empty object (no input parameters).
    inputSchema: { type: "object", properties: {}, required: [] }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JackXuyi/env-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server