Submit one ZCode coding task
zcode_taskDelegate a bounded coding task to a local ZCode agent and get a task receipt while it runs asynchronously. Review the workspace diff and checks before accepting the work.
Instructions
Create a bounded coding task for the local ZCode subordinate agent. workspace is the the calling host project root and determines the ZCode Desktop project identity. the calling host decides whether to create a worktree; if it does, pass its existing absolute directory as optional worktree_path. The Bridge never creates, selects, or removes a worktree. Without worktree_path, ZCode runs directly in workspace. Optional model selects a ZCode provider_id/model_id for this session without changing the project default. Returns a TaskReceipt; the task runs asynchronously in a detached worker. Results describe Bridge/ZCode execution only: status 'completed' means the invocation and report normalization finished, NOT that the calling host accepted the work. the calling host must independently review the workspace diff and checks before deciding PASS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| context | No | ||
| task_id | Yes | ||
| objective | Yes | ||
| workspace | Yes | ||
| timeout_ms | No | ||
| requirements | Yes | ||
| allowed_paths | Yes | ||
| test_commands | Yes | ||
| worktree_path | No | ||
| forbidden_paths | Yes | ||
| acceptance_criteria | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| task_id | Yes | ||
| created_at | Yes |