update_custom_item
Modify an existing athlete custom item on Intervals.icu by changing its name, type, description, configuration content, or visibility.
Instructions
Update an existing custom item for an athlete on Intervals.icu
Args:
item_id: The custom item ID to update
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)
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": {
"item_id": "<item_id>"
},
"name": "update_custom_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| content | No | ||
| item_id | Yes | ||
| item_type | No | ||
| visibility | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |