Create task
Put an approval or a form in the Task inbox for people to do, then use Wait for task to suspend until it is done. Assign it to user:NAME or role:NAME (several separated by commas).
Command in the Long-running agents toolkit · id ooa.longrunning/create_task · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Kind | String | No | approval | approval: approve or reject, with a comment; form: fill in the form's fields. |
| Title | String | Yes | What the task is, as the inbox lists it. | |
| Assignee | String | Yes | Who may do it: user:NAME or role:NAME, several separated by commas. | |
| Description | String | No | More about the task. | |
| Form | Dictionary | No | For a form: {"fields": [{"id": "amount", "label": "Amount", "type": "number", "required": true}]}, as in workflow forms. | |
| Data | Dictionary | No | Details shown with the task. | |
| Due (hours) | Number | No | Overdue after this many hours; never when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| task_id | String | Give it to Wait for task. |