detect_activity_segments
Segment power captures into active and sleep periods by current threshold, returning each segment's timing, average current, charge, and active duty cycle; filter short glitches with min duration.
Instructions
功耗分段(阈值滞回):按 threshold_ua 分 active/sleep 段。
返回每段起止/均值/电量与 active 占空比——回答"睡眠电流多少、 活动占空比多少"类问题。min_duration_s 过滤毛刺段。
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": {
"capture_id": "<capture_id>",
"threshold_ua": "<threshold_ua>"
},
"name": "detect_activity_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_s | No | ||
| start_s | No | ||
| capture_id | Yes | ||
| threshold_ua | Yes | ||
| min_duration_s | No |