update_activity¶
Update an existing custom activity's information.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
activity_id |
string | Yes | Activity UUID |
project_id |
string | Yes | Project UUID (required) |
code |
string | Yes | Activity code |
name |
string | Yes | Activity name |
unit |
string | Yes | Measurement unit |
location |
string | Yes | Location code |
comment |
string | No | Description |
reference_product |
string | No | Product name |
Returns¶
Updated activity details with new updated_at timestamp.
Example¶
Prompt: Update activity xyz789 name to "Improved Solar Panel v2"
Related Tools¶
- get_activity - View current info
- validate_unit - Verify unit changes