ble_scan_start
Start a background BLE scan with optional name or service UUID filters. Returns a scan ID and auto-stops after a configurable timeout.
Instructions
Start a background BLE scan. Returns a scan_id immediately. The scan runs in the background for up to timeout_s seconds. Use ble.scan_get_results to check discovered devices and ble.scan_stop to end the scan early.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ble_scan_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | Max scan duration in seconds (default 10, max 60). Scan auto-stops after this. | |
| name_filter | No | Only collect devices whose name contains this string (case-insensitive). | |
| service_uuid | No | Only collect devices advertising this service UUID. |