create_subtask
Create a subtask for a parent task in LifeUp. Specify rewards, reminders, and item rewards to break down tasks into actionable steps.
Instructions
Create a new subtask for an existing task in LifeUp. Subtasks are smaller action items that belong to a parent task. You must specify the parent task using at least one identifier (main_id, main_gid, or main_name). Subtasks can have their own rewards, reminders, and item rewards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| main_id | No | Parent task ID (one of main_id, main_gid, or main_name is required) | |
| main_gid | No | Parent task group ID (one of main_id, main_gid, or main_name is required) | |
| main_name | No | Parent task name (one of main_id, main_gid, or main_name is required) | |
| todo | Yes | Subtask content/description (required, max 200 characters) | |
| order | No | Position/order of subtask in the list (optional) | |
| coin | No | Coin reward for completing this subtask (optional, 0-999999) | |
| coin_var | No | Coin variance/randomness (optional) | |
| exp | No | Experience points reward (optional, 0-99999) | |
| auto_use_item | No | Automatically use/consume item rewards when subtask is completed (optional) | |
| item_id | No | Item ID for reward (optional, one of item_id or item_name) | |
| item_name | No | Item name for reward (optional, one of item_id or item_name) | |
| item_amount | No | Amount of item to reward (optional, 1-99) | |
| items | No | Array of item rewards (optional, alternative to item_id/item_name) |