testrail_add_result
Record a test result for a specific TestRail test by supplying test ID and status ID, with optional comments, defects, elapsed time, version, and retest assignee.
Instructions
Add a test result for a specific test
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": {
"test_id": "<test_id>",
"status_id": "<status_id>"
},
"name": "testrail_add_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional comment | |
| defects | No | Optional defects/bugs (comma-separated) | |
| elapsed | No | Optional elapsed time (e.g., "30s", "1m", "2h") | |
| test_id | Yes | The ID of the test | |
| version | No | Optional version tested | |
| status_id | Yes | Status ID (1=Passed, 2=Blocked, 3=Untested, 4=Retest, 5=Failed) | |
| assignedto_id | No | Optional user ID to assign for retest |