Update profile numbers
update_profileSave numbers the athlete gave you: max, resting or threshold heart rate (bpm), cycling FTP (W), running threshold pace (seconds per km, 5:00/km is 300) or swim threshold (seconds per 100 m). Pass only the fields they named, as whole numbers; a value outside the settings ranges is refused. Each is saved as the athlete's own value from today, exactly as typing it in Shape's settings does, and outranks what a device reports. Load follows the same rule as settings: a first value scores the sessions that had no load (load: "filled"); a changed value applies from today and older sessions keep their load (load: "from_today"). Also saves gender (male or female, an input to heart-rate load under the same rule), birth year, distance unit (km or mi), weight unit (kg or lb, how weights are shown; inputs stay kg), the first day of the week (monday or sunday) and pool length. Only save what the athlete actually stated or confirmed. Never guess a value, never estimate a heart rate from their age, and never save one they did not agree to. null hands a number back to the device's value, or clears gender or birth year.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ftp | No | Cycling FTP, watts (50 to 1000 W). null hands it back to the athlete's device or automatic value. | |
| maxHR | No | Maximum heart rate, bpm (100 to 230 bpm). null hands it back to the athlete's device or automatic value. | |
| gender | No | Gender, an input to heart-rate load. null clears it. | |
| birthYear | No | Year of birth, e.g. 1990 (age 13 to 100). null clears it. | |
| restingHR | No | Resting heart rate, bpm (30 to 120 bpm). null hands it back to the athlete's device or automatic value. | |
| poolLength | No | The pool swims are written for: "25m", "50m", "33m", "20m", "25yd", or "any" for no pool size. | |
| weightUnit | No | The unit Shape shows weights in (kg or lb). Display only: weights are always written in kg. | |
| startOfWeek | No | The day the athlete's week starts on. | |
| thresholdHR | No | Lactate threshold heart rate, bpm (80 to 220 bpm). null hands it back to the athlete's device or automatic value. | |
| distanceUnit | No | The unit Shape shows distances and paces in. | |
| thresholdPace | No | Running threshold pace, seconds per km (5:00/km is 300) (120 to 900 s/km). null hands it back to the athlete's device or automatic value. | |
| thresholdSwimPace | No | Swim threshold (CSS), seconds per 100 m (1:45 is 105) (45 to 300 s/100m). null hands it back to the athlete's device or automatic value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| load | Yes | ||
| gender | Yes | ||
| numbers | Yes | ||
| updated | Yes | ||
| birthYear | Yes | ||
| poolLength | Yes | ||
| weightUnit | Yes | ||
| startOfWeek | Yes | ||
| distanceUnit | Yes |