Duplicate a test
duplicate_testCopy a test under a new title: the test's info is copied over (start address, requirement, plan, options and files). Its run history and schedules stay with the original. The copy counts toward the plan's test limit. Without title it is named " (copy)". Pass projectId to put the copy in another project of the workspace.
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": {
"testId": "<testId>"
},
"name": "duplicate_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the copy (up to 200 characters); default: the original title with " (copy)" | |
| testId | Yes | Test id (t_…) | |
| projectId | No | Project for the copy (p_…); default: the original's project |