This document describes the tools available in the box_tools_tasks module for managing tasks and task assignments on Box files.
Create a new completion task for a Box file.
- Arguments:
ctx: Request contextfile_id: ID of the file to create the task fordue_at: Optional due date for the task (datetime)message: Optional message or description for the taskrequires_all_assignees_to_complete: Whether all assignees must complete the task (default: False)
Create a new review task for a Box file.
- Arguments:
ctx: Request contextfile_id: ID of the file to create the task fordue_at: Optional due date for the task (datetime)message: Optional message or description for the taskrequires_all_assignees_to_complete: Whether all assignees must complete the task (default: False)
Get details of a Box task.
- Arguments:
ctx: Request contexttask_id: ID of the task to retrieve details for
Update a Box task.
- Arguments:
ctx: Request contexttask_id: ID of the task to updatedue_at: Optional new due date for the task (datetime)message: Optional new message or description for the taskrequires_all_assignees_to_complete: Whether all assignees must complete the task (default: False)
Remove a Box task.
- Arguments:
ctx: Request contexttask_id: ID of the task to remove
List all tasks associated with a Box file.
- Arguments:
ctx: Request contextfile_id: ID of the file to list tasks for
Assign a Box task to a user via email.
- Arguments:
ctx: Request contexttask_id: ID of the task to assignemail: Email of the user to assign the task to
Assign a Box task to a user via user ID.
- Arguments:
ctx: Request contexttask_id: ID of the task to assignuser_id: ID of the user to assign the task to
List all assignments associated with a Box task.
- Arguments:
ctx: Request contexttask_id: ID of the task to list assignments for
Get details of a Box task assignment.
- Arguments:
ctx: Request contextassignment_id: ID of the task assignment
Update a Box task assignment to mark it as complete or review outcome.
- Arguments:
ctx: Request contextassignment_id: ID of the task assignment to updateis_positive_outcome: For review tasks: True for approved, False for rejected. For complete tasks: True for completed, False for incompletemessage: Optional message or description for the task assignment update
Remove a Box task assignment.
- Arguments:
ctx: Request contextassignment_id: ID of the task assignment to remove
Refer to src/tools/box_tools_tasks.py for implementation details.