moves
Generate all legal moves for a backgammon board and dice roll, returning each move's notation, steps, and position key.
Instructions
Generate all legal moves for a board and dice roll.
Args: board_input: Board in any supported format. dice: Dice roll as [die1, die2], each 1-6. player: Who is on roll ("x" or "o"). Default "x".
Returns: Dict with list of legal moves, each with notation, steps, and position key.
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": {
"board_input": "<board_input>",
"dice": "<dice>"
},
"name": "moves"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dice | Yes | ||
| player | No | x | |
| board_input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||