Cancel a queued or running test
cancel_testCancel a test that is pending, claimed, in_progress, or expired. Paid credit jobs are refunded once; internal-use runs cancel without a credit refund. Use this when a site needs to be published or reconfigured before the test should continue.
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": {
"jobId": "<jobId>"
},
"name": "cancel_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job ID returned by submit_test, submit_combo, or the HTTP API. | |
| reason | No | Optional short reason stored with the canceled job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool result payload (JSON object) |