mxcp: 1
tool:
name: is_player_online
description: Check if a player is currently online 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: Online status
properties:
online:
type: boolean
description: Whether the player is currently online