Set automation key
set_automation_keySet or clear a test case's automation key: the test id an uploaded automated result must carry to link to this case. Keys are unique per project (trimmed, at most 200 characters, no line breaks or tabs); a key another case holds is refused with AUTOMATION_KEY_TAKEN naming that case. Pass key null or empty to clear it. Requires project, caseId and key.
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": {
"project": "<project>",
"caseId": "<caseId>",
"key": "<key>"
},
"name": "set_automation_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The automation key (e.g. the Playwright title path or JUnit classname.name); null or empty clears it. | |
| caseId | Yes | Test case id. | |
| project | Yes | Project id the test case belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted. | |
| releaseFromDeletedCase | No | When a deleted case still holds the key, take it from that case (default false). |