Move a test case folder
moveFolderMoves a test case folder to a different parent folder. Use targetParentId=0 to move it to root level. Rejects moves that would create a circular hierarchy. A move changes the folder's '_etag' and returns the new one - pass that to a later 'editFolder'.
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>",
"folderId": "<folderId>",
"targetParentId": "<targetParentId>"
},
"name": "moveFolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project ID (number or string), project key or part of the project name | |
| folderId | Yes | The id of the folder to move | |
| targetParentId | Yes | The id of the target parent folder. Use 0 to move the folder to the root level. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _etag | No | Conflict tag of the entity - pass it to an edit tool's '_etag' to have that edit rejected if somebody changed the entity in the meantime. Empty for an entity that carries no tag yet. | |
| status | Yes | ||
| folderId | No |