pub_best_move
Compute an optimal backgammon move for a given board and dice roll using GNU Backgammon's public evaluation engine.
Instructions
Find the best move using GNUBG's public (non-neural, fast) evaluation.
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 move as from/to pairs and notation.
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": "pub_best_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dice | Yes | ||
| player | No | x | |
| board_input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||