A page to upload a test recording to
get_test_upload_linkA link to a Sigwren page where the runner uploads the recording of their fitness test (the FIT, GPX or TCX file from their watch, of the whole session). Sigwren reads the recording, finds the efforts in it, and works out the result — thresholds, zones and, for Metabolic Lite, VO₂max, VLamax and fat burning. The file is read in memory and never kept; only the result is held until the link expires. Pass test (metabolic_lite, threshold_20 or threshold_30). The link takes one successful upload, and a few tries if the first file cannot be used. Metabolic Lite also asks, on the page, for body mass, height, age and sex, because its model needs them. Afterwards, get_test_result with this link returns the result for the assistant to explain. Each call makes a new link. It needs no account. With the person's "Check with me first" setting on (the default), a call without a confirmation makes no change: it returns a description of the change and a confirmation value, and the change is held for the person to approve. The same call with that confirmation value makes it. With the setting off, the change is made straight away.
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": {
"test": "<test>"
},
"name": "get_test_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | Yes | Which test the runner is doing: metabolic_lite, threshold_20 or threshold_30 (see get_fitness_test). | |
| confirmation | No | The confirmation value from an earlier call of this tool with the same arguments, once the person has approved the change it described. Without it, Sigwren describes the change and makes none. |