update_custom_item
Update an existing custom item on Intervals.icu by changing its name, type, description, content, or visibility for an athlete.
Instructions
Update an existing custom item for an athlete on Intervals.icu
Args: item_id: The custom item ID to update athlete_id: The Intervals.icu athlete ID (optional, will use ATHLETE_ID from .env if not provided) api_key: The Intervals.icu API key (optional, will use API_KEY from .env if not provided) name: New name for the custom item (optional) item_type: New type for the custom item (optional) description: New description for the custom item (optional) content: New configuration content for the custom item as a dict (optional). Important enum values: - "type" field for INPUT_FIELD/ACTIVITY_FIELD: must be "numeric", "text", or "select" (NOT "number") - "aggregate" field: must be "MIN", "SUM", "MAX", or "AVERAGE" (NOT "AVG") visibility: New visibility setting: PRIVATE, FOLLOWERS, or PUBLIC (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| api_key | No | ||
| content | No | ||
| item_id | Yes | ||
| item_type | No | ||
| athlete_id | No | ||
| visibility | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |