create_task
Create a new task in LifeUp with optional experience points, coins, subtasks, and custom settings for rewards and repetition.
Instructions
Create a new task in LifeUp. Specify task name and optional rewards (experience points and coins). When setting XP, you must provide skillIds to indicate which attributes receive the XP. The task will be created as an active task in your LifeUp app. This tool will prompt you to confirm the server is running if it cannot connect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Task name (required, max 200 characters) | |
| exp | No | Experience points reward (optional, non-negative). If specified, must provide skillIds to indicate which attributes receive the XP. When omitted, defaults to 0. | |
| skillIds | No | Skill/attribute IDs to receive XP rewards. Required when setting exp parameter. Supports multiple values (e.g., [1, 2, 3]). | |
| coin | No | Coin reward (optional, non-negative) | |
| categoryId | No | Category/list ID to place the task in (optional) | |
| content | No | Task description/content (optional, max 1000 characters) | |
| auto_use_item | No | Automatically use/consume item rewards when task is completed (optional, defaults to false) | |
| task_type | No | Task type: 0=normal (default), 1=count task, 2=negative task, 3=API task. Count tasks can be completed multiple times. Requires LifeUp v1.99.1+ | |
| target_times | No | Target count for count tasks (required when task_type=1, must be > 0). Example: Set to 5 to create a task that needs to be completed 5 times. | |
| is_affect_shop_reward | No | Whether count affects shop item reward calculations (optional, only valid when task_type=1, defaults to false) | |
| importance | No | Task importance level: 1=Low, 2=Normal, 3=High, 4=Critical (optional, defaults to 1) | |
| difficulty | No | Task difficulty level: 1=Easy, 2=Normal, 3=Hard, 4=Very Hard (optional, defaults to 1) | |
| subtasks | No | Array of subtasks to create with the main task (optional, max 50 subtasks) | |
| frequency | No | Repeat frequency: 0=never, 1=daily, 2=weekly, etc. Special values: -1=Unlimited, -3=Ebbinghaus, -4=Monthly, -5=Yearly. |