get_statistics
Calculates energy, charge, and current statistics between two times in an Otii recording, using seconds from recording start and defaulting to the latest recording.
Instructions
Statistics between two times (seconds from recording start). For the main current channel 'mc' this includes energy and charge. Defaults to the latest recording.
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": {
"from_s": "<from_s>",
"to_s": "<to_s>"
},
"name": "get_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_s | Yes | ||
| device | No | ||
| from_s | Yes | ||
| channel | No | mc | |
| recording_id | No |