Cancel an audio analysis job
jj_queue_cancel_jobCancel a queued audio analysis job by ID. The credit is refunded only if analysis has not completed; requests fail with 409 once the job can no longer be stopped.
Instructions
Cancels one job of the caller's own audio queue (DELETE /queue/{id}). The unit is refunded ONLY if the analysis had not completed yet; during alignment, the analysis already delivered is kept, without refund. 409 when the job can no longer be cancelled. Needs the audio:write scope. Only call it when the user asked to stop that job.
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": {
"id": "<id>"
},
"name": "jj_queue_cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job id returned by jj_audio_analyze or jj_queue_list. |