Start (or Resume) a Detached ZCode Worker Task
zcode_startDispatch a structured coding or analysis task to a detached ZCode worker that survives MCP restarts, with per-task model selection and optional session resumption.
Instructions
Dispatch a structured coding or analysis task to a detached ZCode worker that survives MCP restarts. Supports per-task model/provider/reasoning selection and optional resume_session_id.
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": {
"task_id": "<task_id>",
"workspace": "<workspace>",
"objective": "<objective>"
},
"name": "zcode_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ZCode execution mode: yolo, build, edit, plan, or guarded. | yolo |
| model | No | Optional per-session model override; omit to use ZCode's current default. | |
| context | No | Optional additional context, baseline commit, or constraints. | |
| task_id | Yes | Unique managed task identifier (letters, numbers, '.', '_' and '-'). | |
| objective | Yes | Clear goal statement describing what ZCode should accomplish. | |
| workspace | Yes | Absolute path to the project repository root. | |
| timeout_sec | No | Worker execution timeout in seconds (60..14400, default 3600). | |
| requirements | No | Concrete implementation requirements. | |
| allowed_paths | No | Workspace-relative paths ZCode is permitted to modify. | |
| context_files | No | Key reference file paths ZCode should read first. | |
| test_commands | No | Build, lint, or test commands ZCode should run before finishing. | |
| worktree_path | No | Optional isolated git worktree execution path when running concurrent tasks on one repository. | |
| forbidden_paths | No | Paths ZCode must never create, modify, or delete. | |
| resume_session_id | No | Optional existing ZCode session ID (e.g. sess_...) to resume instead of creating a brand new session. | |
| acceptance_criteria | No | Verifiable completion criteria checked independently after completion. |