otii_measure
Records 50 kHz current, voltage, and power samples for a set duration, returning average/min/max values plus energy and charge totals to profile connected hardware.
Instructions
Record 50 kHz samples; return average/min/max current, voltage and power, plus energy and charge.
coverage is the share of due samples that arrived over USB (normally 100%); any missing
frames are timing gaps unrelated to the load, so averages stay valid, but a spike inside a
gap would not show in max. Blocks for the requested duration and keeps one CPU core busy
meanwhile. Does not switch the 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": "otii_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No | How long to record, in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||