query_test
Retrieve a single test by ID or all tests in a TestRail test run. Set the action to 'one' or 'many' to fetch the exact dataset you need.
Instructions
Retrieve a single test by ID or all tests for a test run in TestRail. Set payload.action to 'one' or 'many' to specify the operation.
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": {
"payload": "<payload>"
},
"name": "query_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The payload containing the action ('one' or 'many') and corresponding parameters |