Decline a team join request
Decline one person's request to join a team you lead.
MCP tool lichess_write → decline_team_join_request
write Confirm
Removes the request from the pending list and moves it to the declined list, which list_team_join_requests returns with declined set to true. Needs a team leader role. The applicant is turned away, so it reaches another person. 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. |
| username string required | string | Applicant username from list_team_join_requests. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lichess_write",
"arguments": {
"operation": "decline_team_join_request",
"arguments": {
"team_id": "coders",
"username": "username"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"ok": true,
"team_id": "riverside-chess",
"username": "bonus_link_77",
"status": "declined"
},
"isError": false
}