Compile a sentence into a Task plan
workbench_tasks_compileRuns the compiler over a sentence and returns the PROPOSED plan (or repair-grade problems — fix by refining the sentence with the user, not by guessing). Nothing persists. Present the proposal in plain terms: which clauses run flows, which you (zv1) will handle, who decides, what the compiler noted. Then iterate or freeze. Compile may take ~15s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | The task this sentence belongs to, when compiling an edit — keeps it out of the child-task candidates. | |
| sentence | Yes | The sentence to compile. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Re-call with the approvalId from a needs_confirmation response after the user approves. |