Delete workout file
tp_delete_workout_fileDelete a specific workout file using its file ID. Get the ID from tp_get_workout's device or attachment files, then remove the file.
Instructions
Delete a workout file by file_id. Get file_id from tp_get_workout device_files/attachment_files.
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": {
"workout_id": "<workout_id>",
"file_id": "<file_id>"
},
"name": "tp_delete_workout_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| file_id | Yes | File ID from tp_get_workout | |
| workout_id | Yes | Workout ID |