Module tasks

Source

Structs§

CreateParams
UpdateParams

Functions§

assign
Assigns tasks to agent by id.
complete
Complete task by id.
create
Create new task.
delete
Delete task by id.
delete_children
Delete child tasks by parent id and ancestry.
delete_for_chat
Delete tasks from chat.
execute
Execute task by id.
fail
Fail task by id.
get
Get task by id.
get_all_children_count
Returns count of all children tasks for given task’s ancestry.
get_by_execution_chat_id
Get task by execution chat id.
get_child_for_execution
Gets child task for execution.
get_root_for_execution
Gets root task for execution.
get_total_number_by_status
Get total number of tasks by status
is_all_siblings_done
Returns true if all sibling tasks are done.
list_all_children
List all children tasks for given task.
list_direct_children
List direct children tasks for given task.
list_roots
List all tasks.
list_roots_by_status
List root tasks by status
revise
Revise task by id.
start_progress
Start task by id.
transition_all
Transitions tasks from one status to another.
update
Update task title or/and summary by id
update_execution_chat_id
Update task execution chat id by id.
update_status
Update task status by id.
wait_for_user
Marks task as waiting for user input by id.