get_player_games_by_month.ymlā¢929 B
mxcp: 1
tool:
name: get_player_games_by_month
description: Get a player's games for a specific month from Chess.com
language: python
source:
file: ../python/player_tools.py
parameters:
- name: username
type: string
description: The Chess.com username
pattern: "^[a-zA-Z0-9_-]+$"
examples: ["hikaru", "magnuscarlsen"]
- name: year
type: integer
description: Year (YYYY format)
minimum: 2007
maximum: 2100
examples: [2024, 2023]
- name: month
type: integer
description: Month (MM format, 01-12)
minimum: 1
maximum: 12
examples: [1, 6, 12]
return:
type: object
description: Games data for the month
properties:
games:
type: array
description: List of games played in the month
items:
type: object
description: Game data including moves, result, time control