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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo_move_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |