lichess_player_autocomplete
Search Lichess usernames by prefix and optionally return user records, preferred casing, or filter results by team, Arena tournament, Swiss tournament, or teacher role.
Instructions
Autocomplete Lichess usernames. Returns usernames that start with the term, up to the source limit. object returns user records instead of plain usernames, names returns usernames with their preferred casing, and team, tour and swiss restrict the search to the members of a team, an Arena tournament or a Swiss tournament; teacher keeps only players with a teacher role. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.
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": {
"term": "<term>"
},
"name": "lichess_player_autocomplete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Search within this team (team ID or slug) | |
| term | Yes | Beginning of a username, 1 through 30 characters | |
| tour | No | Search within this Arena tournament (eight-character ID) | |
| names | No | Return usernames with their preferred casing; source default false | |
| swiss | No | Search within this Swiss tournament (eight-character ID) | |
| object | No | Return an object with matching user records instead of usernames; source default false | |
| teacher | No | Only players who also have a teacher role; source default false |