Get legal moves
get_legal_movesPure chess rules — where a piece is physically allowed to move right now. Not an evaluation, not a suggestion, not an opinion about what is good. Exactly what a human sees as dots when they click a piece. Omit square to get every legal move in the position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| square | No | e.g. "e2" — omit for all legal moves | |
| game_id | Yes | ||
| agent_token | Yes |