get_head_to_head
Retrieve the head-to-head record between two players, including wins, win percentages, current ratings, and a list of all their encounters. Empty matches list indicates they have never played.
Instructions
Возвращает очное противостояние двух игроков.
Даёт победы, проценты побед и партий, текущие рейтинги обоих и список всех их встреч. Рейтинги на этой странице округлены до целого; за точным значением с двумя знаками идите в get_player.
Пустой matches означает, что игроки не встречались.
Матч без разборчивого счёта — техническая победа или изменившаяся вёрстка — приходит с пустыми партиями и исходной записью в score_raw. В отличие от get_player, здесь нет поля result, поэтому различить эти два случая можно только по score_raw.
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": {
"player_id": "<player_id>",
"opponent_id": "<opponent_id>"
},
"name": "get_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_id | Yes | ||
| opponent_id | Yes |