Post a task to the dispatch hub
hub_postQueues a self-contained task for hub workers to run in the background. Use it to offload code, text, or review jobs, then wake via hub_wait when the result needs attention.
Instructions
Queue a task for the dispatch hub's workers (ZCode / CLI agents on the hub host, manual workers on remote machines). Returns once the task is queued; a daemon assigns and runs it, and hub_wait wakes you when it needs attention. The task body must be self-contained (the worker cannot see this conversation). Code tasks need repo (absolute path on the hub host) and base (commit sha); the worker's changes come back as a patch that is replayed and checked by the hub's acceptance step.
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": {
"title": "<title>",
"task": "<task>"
},
"name": "hub_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Commit sha to build on. Default: the repo's HEAD when the daemon prepares the task. | |
| kind | No | Default code. | |
| repo | No | Absolute path of the git repo on the hub host (code tasks). | |
| task | Yes | Markdown instructions for the worker (task.md). | |
| tier | No | Default mid. | |
| title | Yes | ||
| accept | No | Command run with bash -o pipefail in a fresh checkout + the patch (no node_modules: install first); non-zero exit rejects. | |
| review | No | Have a second, different-vendor agent review the patch before acceptance. | |
| timeoutMin | No | Default 45. | |
| avoidVendors | No | ||
| preferWorkers | No | ||
| acceptTimeoutMin | No | Accept command time limit. Default 30. |