Send a team update
Send a message to all members of a team you lead.
POST https://cotlet.dev/api/v1/lichess/teams/{team_id}/update
write Confirm
Posts the update to all members and returns ok. You must be a team leader with the Updates permission. It reaches every member of the team at once and cannot be recalled. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| team_id string required | string | Team ID from list_user_teams, e.g. 'coders' for lichess.org/team/coders. |
| message string required | string | The update text to send to every member. |
Request
curl -X POST https://cotlet.dev/api/v1/lichess/teams/riverside-chess/update \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"Friday Blitz Night starts at 19:00 UTC: https://lichess.org/tournament/Qx7pLm2a. Top three last week: rook_and_roll, maya_plays, club_captain."}' result = client.call("lichess", "send_team_update", {"team_id":"riverside-chess","message":"Friday Blitz Night starts at 19:00 UTC: https://lichess.org/tournament/Qx7pLm2a. Top three last week: rook_and_roll, maya_plays, club_captain."}) const result = await cotlet.call('lichess', 'send_team_update', {"team_id":"riverside-chess","message":"Friday Blitz Night starts at 19:00 UTC: https://lichess.org/tournament/Qx7pLm2a. Top three last week: rook_and_roll, maya_plays, club_captain."}); cotlet call lichess send_team_update --data '{"team_id":"riverside-chess","message":"Friday Blitz Night starts at 19:00 UTC: https://lichess.org/tournament/Qx7pLm2a. Top three last week: rook_and_roll, maya_plays, club_captain."}' Example response
{
"ok": true,
"team_id": "riverside-chess",
"recipients": 148
}