create_or_reset_game
Creates a new chess game or resets the current one to the initial position, returning the board status (FEN) and move history for the current state.
Instructions
Create a new game or reset the current one to the initial position.
Returns (in result):
ok: boolean
status: object with the current position metadata:
fen: string (Forsyth–Edwards Notation)
side_to_move: "white" | "black"
fullmove_number: int
halfmove_clock: int
ply_count: int (number of half-moves made)
castling_rights: string like "KQkq" or "-"
en_passant_square: algebraic square like "e3" or "-"
last_move_uci: string | null
last_move_san: string | null
who_moved_last: "white" | "black" | null
is_check: boolean
is_game_over: boolean
result: string like "1-0", "0-1", "1/2-1/2" or null
pieces: object mapping squares to piece symbols, e.g. {"e4":"P", "e5":"p"}
moves: array of UCI strings for all moves played so far (empty after reset)
moves_detailed: array of { ply:int, side:"white"|"black", uci:string, san:string }
Notes:
This tool does not suggest moves; it only manages state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |