icu_create_custom_item
Create custom items for your Intervals.icu account, such as input fields, activity fields, zones, and charts. Specify a name and item type to build the custom addition.
Instructions
Create a custom addition to the user's Intervals.icu account.
Use when the user says things like: "add a custom field for RPE", "create
a custom power zone set", "add a chart for monthly distance". Match the
user's intent to the right item_type (see that param's description). For
the content schema per item_type, read intervals-icu://custom-item-schemas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (e.g., 'RPE', 'Bike Weight', 'Custom Power Zones') | |
| item_type | Yes | What the user wants to add. Pick by intent: INPUT_FIELD (extra input on the wellness page, e.g. RPE, mood), ACTIVITY_FIELD (extra field on each activity, e.g. bike weight), INTERVAL_FIELD (extra field on each interval), ZONES (custom power/HR/pace zone set), FITNESS_CHART / TRACE_CHART / FITNESS_TABLE (custom dashboard chart/table), ACTIVITY_CHART / ACTIVITY_HISTOGRAM / ACTIVITY_HEATMAP / ACTIVITY_MAP / ACTIVITY_PANEL (custom visual on the activity page), ACTIVITY_STREAM (computed time-series). Use the literal API value. | |
| description | No | Optional description shown to the user | |
| content | No | Configuration object whose schema depends on item_type. Read intervals-icu://custom-item-schemas BEFORE constructing — it documents the {code, type, aggregate} shape required for INPUT_FIELD / ACTIVITY_FIELD / INTERVAL_FIELD (with constraints and worked examples) and explains that chart/panel/zones/stream types should omit `content`. | |
| visibility | No | Who can see it: PRIVATE (default, only you), FOLLOWERS, or PUBLIC. | |
| athlete_id | No | Athlete ID (only for coaches; uses configured default otherwise) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |