Delegate Kimi Task and Wait
kimi_delegate_and_waitStart a Kimi task and block until it becomes idle, fails, or times out, returning handoff/review data on idle. For long-running work, delegate to get a durable jobId immediately.
Instructions
Start a Kimi task and wait until it becomes idle, blocked, failed, aborted, or the caller wait times out. Use this when the caller can remain connected for the expected task duration; prefer kimi_delegate_task for long-running work so the durable jobId is returned immediately. When durable jobs are configured, the result includes jobId. Idle results include handoff and review data; timeout does not abort the underlying Kimi session. After a client-side timeout or disconnect, use kimi_recent_jobs to recover the existing job rather than submitting the task again.
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. | |
| depth | No | Research depth: quick (one source per item), standard (default; one or two authoritative sources, gaps marked not documented), deep (cross-checked, thorough). | |
| 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. |