aiworkhub_manager_callback_wait
Waits for a manager mailbox callback from a verified Claude Code or OpenCode session, acknowledging the previous batch via lease IDs so unacknowledged leases are retried instead of lost.
Instructions
BLOCKING READ/CLAIM: wait for a callback for this process's verified
manager mailbox route (a Claude Code or OpenCode session; the provider is
resolved from the verified route, never from an argument). The loop is
this one repeated call: pass the previous reply's batch_id/lease_id
as ack_batch_id/ack_lease_id, or call aiworkhub_manager_callback_ack;
an unacknowledged lease is retried, never lost. Use it after the watcher
from aiworkhub_manager_bootstrap's mailbox.watch_argv exits.
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_manager_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 | |||