Update TestRail Test
update_testUpdate test labels and custom fields in TestRail to maintain accurate test case organization and metadata.
Instructions
Updates the labels assigned to an existing 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>"
},
"name": "update_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_id | Yes | The ID of the test to be updated | |
| labels | No | The ID of a label, the title of a label or both, in array form | |
| custom | No | Custom fields (key-value pairs) |