key_of_board
Convert any backgammon board into its GNUBG position key string. Get a unique key for position analysis.
Instructions
Convert a board to its GNUBG position key string.
Args: board_input: Board in any supported format. player: Who is on roll ("x" or "o"). Required if board_input is a boardState dict.
Returns: Dict with the position key string.
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>"
},
"name": "key_of_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | ||
| board_input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||