get_pt5_samples
Retrieve current (mA) and voltage (V) samples from a PT5 power measurement file. Optionally filter by time range and decimate to reduce data points.
Instructions
Retrieve sample data from a PT5 file, with optional time range filtering and sample decimation. Returns current (mA) and voltage (V) values.
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": {
"file_path": "<file_path>"
},
"name": "get_pt5_samples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .pt5 file | |
| start_time_sec | No | Start time in seconds (default: 0) | |
| end_time_sec | No | End time in seconds (default: end of capture) | |
| decimation | No | Return every Nth sample (default: 1). Use 10, 100, 1000 for large files. | |
| max_samples | No | Maximum number of samples to return (default: 5000). |