Acknowledge queue messages (deletes them)
queue_ackAcknowledge messages claimed from the named queue: each lease from queue_claim permanently deletes its message. Use it when the job is done; on failure use queue_nack, for more time queue_extend. A lease that ran out still works until its message is claimed again, nacked, redriven or deleted. Returns acked, and lost for each lease that deleted nothing, not as an error. Works after the plan ended.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"queue": "jobs",
"leases": [
"lse_0123456789abcdef0123456789abcdef"
],
"instance_id": "que_exampleexampleexample2"
},
"name": "queue_ack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes | Queue name: 1 to 64 characters from a-z 0-9 . _ -. | |
| leases | Yes | Leases (lse_...) from queue_claim. | |
| instance_id | Yes | Utility instance id from buy or list_utilities. | |
| passport_token | No | Your amp_ token, only if you have no app sign-in and cannot send a header. |