last_moves_detailed
Retrieve the last N chess moves with full details such as ply, side, UCI, and SAN notation. Specify n to control how many moves to return.
Instructions
Return the last N moves with details (default 1).
Each item: { ply:int, side:"white"|"black", uci:string, san:string }. Parameters:
n: integer >= 1. If n <= 0, returns an empty list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |