setup_register_device
Register a device in the database with adapter config and capabilities. Part of Step 3 in the onboarding flow. Required: kernelId, deviceId, type and adapterType (400 missing_required_fields otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Device role: machine, sensor or camera (the values setup_generate_config and setup_validate accept) | |
| model | No | Device model identifier (optional; stored as "unknown" if absent) | |
| deviceId | Yes | Your ID for this device, unique within the kernel | |
| kernelId | Yes | Kernel ID to register the device under | |
| adapterType | Yes | One of octoprint, modbus, opcua, sila, ipp, generic-http or mock; the route refuses anything else (including opentrons) | |
| capabilities | No | Capability types this device serves | |
| adapterConfig | No | Adapter-specific configuration (host, port, auth, etc.) |