Delegate Kimi Task and Wait
kimi_delegate_and_waitExecute a delegated Kimi task, wait for completion, and return handoff and review data in one call. Supports swarm-mode evidence with worker and coordinator details when available.
Instructions
Start a Kimi task, wait for completion or another wait/terminal state, and return handoff and review data in one call. Prefer this for normal delegated work; use kimi_delegate_task when the caller needs immediate asynchronous control. The task may run commands and modify files. With swarmMode=true, structured swarmEvidence reports observed native AgentSwarm calls, worker counts, and coordinator/worker model-provider bindings when Kimi wire evidence is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory visible to the Kimi runtime. In the managed hosted deployment use /workspace; local desktop paths are not automatically available to the remote runtime. | |
| plan | Yes | Ordered implementation or analysis steps Kimi should follow. For swarm work, use distinct non-conflicting scopes that can be delegated to workers. | |
| task | Yes | Concrete objective for Kimi to execute. Include the requested outcome and relevant constraints. | |
| model | No | Configured Kimi model alias. In the managed ai& deployment omit this field to use the centrally configured model binding; do not pass a raw provider model ID unless Kimi exposes it as an alias. | |
| dedupe | No | Optional duplicate-session guard. When supplied, the bridge searches recent sessions before creating a new session and may reuse a compatible match. | |
| thinking | No | Optional Kimi thinking setting. Omit to use the bridge default; the managed pilot is configured for high thinking. | |
| sessionId | No | Existing Kimi session ID to submit into. Omit for a fresh session; fresh sessions are recommended for new swarm jobs. | |
| swarmMode | No | Set true to activate and verify Kimi native swarm mode before prompt submission. When true, the result includes structured swarmEvidence when Kimi wire records are available. | |
| timeoutMs | No | Maximum time in milliseconds to wait for this call. A timeout returns control without aborting the Kimi session, so the same session can be waited on later. | |
| acceptanceCriteria | Yes | Verifiable conditions that define successful completion. Pass an empty array only when there are genuinely no explicit acceptance checks. |