立即开始
Habitica Tools

Habitica Add Challenge Task

通过 Aident Loadout 使用 Habitica Tools 的 Habitica Add Challenge Task。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Tool to add a new task to a specified challenge. Use when you need to programmatically create a challenge task after the challenge is set up and you have its ID.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • datestring
    Due date for 'todo' type tasks in ISO 8601 format (YYYY-MM-DD or full datetime)
  • tagsarray
    List of tag UUIDs to categorize the task. Tags must exist in the challenge owner's account.
  • textstring
    必填
    The title/name of the task that will be displayed to challenge participants
  • typestring
    必填
    Task type: 'habit' (repeatable +/- actions), 'daily' (scheduled recurring tasks), 'todo' (one-time tasks), or 'reward' (purchasable with gold)
  • notesstring
    Detailed description or instructions for the task
  • everyXinteger
    Repeat interval number used with frequency. E.g., everyX=3 with frequency='daily' means every 3 days.
  • prioritynumber
    Task difficulty affecting gold/XP rewards: 0.1 (Trivial), 1.0 (Easy - default), 1.5 (Medium), 2.0 (Hard)
  • remindAtstring
    ISO 8601 datetime to send a reminder notification
  • attributestring
    Primary attribute this task trains: 'str' (Strength), 'int' (Intelligence), 'per' (Perception), 'con' (Constitution). Defaults to 'str'.
  • frequencystring
    Recurrence frequency for 'daily' type tasks. Use with everyX to set repeat interval (e.g., frequency='weekly', everyX=2 = every 2 weeks).
  • challengeIdstring
    必填
    The unique UUID of the challenge to add the task to. Get this from GET /challenges/user or when creating a challenge.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源