get_player_current_games.ymlā¢576 B
mxcp: 1
tool:
name: get_player_current_games
description: Get a player's ongoing games on 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"]
return:
type: object
description: Current games data
properties:
games:
type: array
description: List of ongoing games
items:
type: object
description: Game information