complete
Closes a delegated task by taskId, setting it to done and closed and returning the resulting status. Use it to mark work finished for tasks created with delegate.
Instructions
Mark a task closed by its taskId. The optional note is accepted but not currently stored. Sets the task to done and closed and returns the status; the call does not check who the assignee is. Use for a task created with delegate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional completion note. Currently accepted but not stored, so put anything important in notify or answer instead. | |
| taskId | Yes | Id of the task to close, as returned by delegate or shown in the inbox. |