undo_move_tool
Undo the last move in a chess game, whether by player or AI. Returns the new board state in FEN format, or an error when no moves exist.
Instructions
Undoes the last move made on the board.
Can undo both player moves and AI moves.
Args:
None
Returns:
The new board state in FEN format, or an error message if no moves to undo
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |