update_achievement
Update an existing achievement by ID. Modify its name, description, rewards, or unlock status.
Instructions
Update an existing achievement by ID. Modify name, description, rewards, and unlock status. ⚠️ IMPORTANT: Updating conditions_json is NOT supported by the LifeUp API. If you need to change conditions, delete this achievement and create a new one with desired conditions. Set numeric rewards using absolute (replace) or relative (add to current) set types. Always verify changes in the LifeUp app after updating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"edit_id": "<edit_id>"
},
"name": "update_achievement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit_id | Yes | Achievement ID to update (required) | |
| name | No | New achievement name (optional) | |
| category_id | No | New category ID (optional) | |
| desc | No | New description (optional) | |
| conditions_json | No | New unlock conditions (optional). Replaces existing conditions. | |
| exp | No | Experience reward (optional). IMPORTANT: Must specify skills array to apply XP to attributes. | |
| coin | No | Coin reward (optional) | |
| coin_set_type | No | How to set coin value: absolute (replace) or relative (add/subtract) | |
| exp_set_type | No | How to set exp value: absolute (replace) or relative (add/subtract) | |
| skills | No | Skill/attribute IDs to receive XP rewards. Required when setting exp parameter (replaces existing). Without skills, XP cannot be applied. | |
| items | No | New item rewards (optional, replaces existing) | |
| secret | No | Update hidden status (optional) | |
| color | No | New title color (optional, hex format) | |
| unlocked | No | Update unlock status (optional) |