edit_task
Edit an existing task in LifeUp by modifying its name, rewards, category, and other properties. Supports absolute or relative adjustments for XP and coins.
Instructions
Edit an existing task in LifeUp. You can modify task name, rewards, category, and other properties. When using exp_set_type="rel" or coin_set_type="rel", the exp and coin values are added to existing values. When using "abs" (absolute), values replace existing ones. This tool is blocked in SAFE_MODE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task ID to edit (required) | |
| name | No | New task name (optional) | |
| content | No | New task description/content (optional) | |
| exp | No | New XP reward value. Use exp_set_type to control if this is absolute or relative to current value (optional) | |
| coin | No | New coin reward value. Use coin_set_type to control if this is absolute or relative to current value (optional) | |
| skills | No | Skill/attribute IDs to receive XP rewards (optional) | |
| categoryId | No | Category/list ID to move task to (optional) | |
| auto_use_item | No | Auto-use item rewards (optional) | |
| task_type | No | Task type: 0=normal, 1=count task, 2=negative, 3=API task (optional) | |
| target_times | No | Target count for count tasks (optional, must be > 0 when task_type=1) | |
| is_affect_shop_reward | No | Whether count affects shop rewards (optional) | |
| importance | No | Task importance: 1=Low, 2=Normal, 3=High, 4=Critical (optional) | |
| difficulty | No | Task difficulty: 1=Easy, 2=Normal, 3=Hard, 4=Very Hard (optional) | |
| frequency | No | Repeat frequency: 0=never, 1=daily, 2=weekly, etc. Special values: -1=Unlimited, -3=Ebbinghaus, -4=Monthly, -5=Yearly. | |
| exp_set_type | No | How to apply exp value: "absolute" replaces current, "relative" adds to current (optional, default: absolute) | |
| coin_set_type | No | How to apply coin value: "absolute" replaces current, "relative" adds to current (optional, default: absolute) |