esp32_component_test
Runs capability-specific functional tests on ESP32-connected components, records evidence, and updates the capability matrix by marking passing tests as VERIFIED.
Instructions
STAGE 11-12 (SAFE FUNCTIONAL TESTING, TELEMETRY CAPTURE). Runs the capability-specific functional tests declared by a component profile — identification, communication, status reporting, sensor reads, protocol detection, register readback and so on. Every test records its objective, configuration, procedure, expected result, observed result, pass/fail, evidence, confidence and duration, and returns an updated capability matrix in which passing tests promote capabilities to VERIFIED.
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": {
"component": "<component>"
},
"name": "esp32_component_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cs | No | Chip-select GPIO (SPI, required for SPI) | |
| rx | No | RX GPIO (UART) | |
| tx | No | TX GPIO (UART) | |
| scl | No | SCL GPIO (I2C) | |
| sda | No | SDA GPIO (I2C) | |
| baud | No | UART baud rate | |
| miso | No | MISO GPIO (SPI) | |
| mode | No | SPI mode 0-3 | |
| mosi | No | MOSI GPIO (SPI) | |
| port | No | Serial port (optional) | |
| sclk | No | SCLK GPIO (SPI) | |
| depth | No | Depth gate for which tests may run (default: STANDARD) | STANDARD |
| tests | No | Test ids or names to run (optional — runs every applicable test if omitted) | |
| address | No | I2C address (optional) | |
| clockHz | No | SPI clock in Hz | |
| component | Yes | Component profile id, part number or alias | |
| interface | No | Interface to test over (default: I2C) | I2C |
| timeoutMs | No | Request timeout in ms (optional) | |
| frequencyHz | No | I2C frequency in Hz |