This article explains how to create tasks and assign them to a user by adding @mention using Confluence CLI. With this article, you can see the status (Complete or Incomplete) of user tasks. CLI action command lets you provide the task description and user name in the task list item, to assign the user as Assignee to the task.
Instructions
Use the addPage action to add a new page and provide the user name to whom you want to assign a task.
...