List Legal Chess Moves
game_legal_movesGet all legal moves in the current chess position, including SAN, UCI, piece, capture, and promotion details, to support move analysis and strategy.
Instructions
List all legal moves in the current position (SAN, UCI, piece, capture, promotion).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"game_id": "<game_id>"
},
"name": "game_legal_moves"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| moves | Yes | ||
| game_id | Yes | ||
| revision | Yes |