scope_device
Discover and manage USB oscilloscopes: list available devices, connect or disconnect sessions, check status, and select backends.
Instructions
Discover, connect, and manage USB oscilloscope devices.
Consolidates device enumeration, session connection, backend selection, and health status.
Return Format
{"success": bool, "operation": str, "data": {...}}
Examples
scope_device(operation="list")
scope_device(operation="connect", device_id="sim-001")
scope_device(operation="status")
scope_device(operation="backends")
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": {
"operation": "<operation>"
},
"name": "scope_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | No | Force backend: simulator, picoscope, or hantek. | |
| device_id | No | Device ID for connect (e.g. sim-001, picoscope:12345). | |
| operation | Yes | Device management operation. |