Add or update events
upsert_eventsAdds or updates up to 20 calendar events the athlete tells you about (match, tournament, coach_session, travel, rest, other; set_rest_day also makes rest events; dates YYYY-MM-DD, end inclusive). Omit id for a new event (the server makes the id); pass the id you got back to change or cancel one of your own (status "cancelled"). An id that doesn't exist is skipped. Events are never deleted. You can't change events the athlete created, and you can't set a cancelled event back to active; if it's back on, add it again as a new event. You can still edit a cancelled event's title or dates if you leave status out. Those come back in skipped with the reason. The app only acts on a rest event (the day becomes a rest day). Every other event is stored as context and changes no session.
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": {
"events": "<events>"
},
"name": "upsert_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes |