ble_read_descriptor
Read a GATT descriptor by handle to access metadata such as CCCD or user description on a BLE device.
Instructions
Read a GATT descriptor by handle. Use ble.discover to find descriptor handles. Descriptors provide metadata about characteristics (e.g. CCCD, user description).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection_id": "<connection_id>",
"handle": "<handle>"
},
"name": "ble_read_descriptor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | The descriptor handle (integer) from ble.discover. | |
| connection_id | Yes |