delete_cycle
Delete a Zephyr test cycle by ID. Supports folder cycles and optional polling for job completion.
Instructions
Delete a test cycle by id (asynchronous; returns/polls a job token).
Set is_folder_cycle_delete=True only when deleting a cycle that lives
inside a folder. This is an asynchronous ZAPI operation: it returns a
jobProgressToken. With wait=True (default) the tool polls the job to
completion and returns the final job-progress payload; with wait=False
it returns the raw {jobProgressToken} so you can poll later with
get_job_progress (type cycle_delete_job_progress).
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": {
"cycle_id": "<cycle_id>"
},
"name": "delete_cycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle_id | Yes | ||
| is_folder_cycle_delete | No | ||
| wait | No | ||
| timeout | No |