Create a draft Task
workbench_tasks_createCreates a DRAFT Task from a name + sentence. Use this once the user's sentence feels settled after you've refined it together — then compile it. The sentence should be THEIR words: trigger first ('When a claim arrives…'), then steps, branches, and who decides what.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sentence | Yes | The process sentence, in the user's words. | |
| taskName | Yes | Short task name. | |
| 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 | Approval id from a prior needs_confirmation response. Omit on the first call. |