Cancel an analysis
qualitative_cancel_analysisStops an analysis package for good. Refund rule: if the work failed on our side (refund_on_cancel true in qualitative_get_run), the whole package price is refunded to the credit balance; cancelling a healthy or still running package refunds nothing and the charge stays; a completed package cannot be cancelled. Ask the user before cancelling. Requires an API key with the runs:write scope, and the key's owner must own the analysis. It does not delete the analysis or its data. To resume failed work without cancelling use qualitative_retry_analysis.
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": {
"run_id": "<run_id>"
},
"name": "qualitative_cancel_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The analysis id (`run_id`) from qualitative_list_runs or qualitative_start_analysis. | |
| idempotency_key | No | Optional key (printable ASCII, at most 255 characters). Pass idempotency_key to make your own retries safe: repeating the call with the same key returns the original result instead of acting again. If omitted, every call gets its own fresh key. |