set_game_score
Update a player's score in a game by providing user ID and score. Use this to adjust scores for Telegram games.
Instructions
Set the score of a user in a game.
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": {
"user_id": "<user_id>",
"score": "<score>"
},
"name": "set_game_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| score | Yes | ||
| chat_id | No | ||
| user_id | Yes | ||
| message_id | No | ||
| inline_message_id | No | ||
| disable_edit_message | No |