measure
Read voltage, current, power, CC and data line voltages, and temperature from a USB-C power meter, with optional multi-sample averaging and min/max statistics for VBUS, IBUS, and power.
Instructions
Read VBUS/IBUS/power, CC1/CC2, D+/D-, VDD and temperature (V, A, W, °C).
With samples > 1 the readings are taken interval_ms apart and mean/min/max are returned for vbus_v, ibus_a and power_w. Positive current flows from the meter's USB-C receptacle (input) to its plug (output).
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": "measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | ||
| interval_ms | No |