aiworkhub_claude_callback_wait
Blocks until a callback arrives for a verified Claude Code manager session, claiming the next batch while acknowledging the previous one to prevent retried or lost leases.
Instructions
BLOCKING READ/CLAIM: wait for a callback for this verified Claude
Code manager session. Acknowledge the previous batch by passing its
batch_id/lease_id as ack_batch_id/ack_lease_id here, or
call aiworkhub_claude_callback_ack; an unacknowledged lease is
retried, never lost.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aiworkhub_claude_callback_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ack_batch_id | No | batch_id from the previous callback_ready reply, acknowledged while the next batch is claimed; leave empty on the first wait. | |
| ack_lease_id | No | lease_id from that same callback_ready reply; pass it together with ack_batch_id. | |
| timeout_seconds | No | Seconds to wait for a callback; default 240, clamped to a server maximum (at least 1) that the reply reports. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||