query_results
Query test results to return counts and a bounded preview of the newest matching records. Filter by part number, program, serial, status, or time range.
Instructions
Query test results and return counts plus a bounded recent preview.
Does not dump the full result set. Counts use Test Monitor return_count; the preview is the newest matching results only.
part_number: Product revision / part number. program_name: Test program or sequence name. serial_number: DUT serial. status: Optional status.statusType filter (PASSED, FAILED, ERRORED, ...). started_after: Inclusive ISO-8601 UTC start. started_before: Inclusive ISO-8601 UTC end. preview_limit: Max result rows to include (capped at 50).
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": "query_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| part_number | No | ||
| program_name | No | ||
| preview_limit | No | ||
| serial_number | No | ||
| started_after | No | ||
| started_before | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||