Dispatch to a Clanker and block until the turn completes
clanker_dispatchDispatch a task to a Clanker backend (codex, opencode, grok) and wait for terminal result. Polling avoids timeouts on long tasks.
Instructions
Convenience path = clanker_dispatch_start + loop clanker_wait until the turn is terminal. Returns the terminal WaitResult {status, final_message, touched_files, plan_final}. For long tasks prefer clanker_dispatch_start + clanker_wait so the caller controls polling and avoids MCP request timeouts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute working directory (default: server base repo) | |
| lane | Yes | Backend Clanker to drive: codex | opencode | grok | |
| model | No | Model override, e.g. 'zhipuai-coding-plan/glm-5.2' (opencode) — warned & echoed if the Clanker can't honor it | |
| effort | No | Reasoning effort override (codex/grok only) | |
| prompt | Yes | The task/prompt to send to the Clanker | |
| worktree | No | Branch name; server creates a git worktree cut from origin/main and runs there | |
| read_only | No | If true, the Clanker is gated read-only (default false) |