capture
Record selected digital channels, persist by ID, and return per-channel edge, pulse-width, and frequency statistics—not raw samples. Use a short window first.
Instructions
Capture digital channels and persist them under a capture_id. Returns per-channel statistics (edges, pulse widths, rough frequency), never the raw sample array. Prefer a short window first.
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": {
"channels": "<channels>",
"sample_rate_hz": "<sample_rate_hz>",
"duration_s": "<duration_s>"
},
"name": "capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| device | No | ||
| backend | No | ||
| trigger | No | ||
| channels | Yes | ||
| duration_s | Yes | ||
| sample_rate_hz | Yes |