Import game
import_gameLoad a saved JSON game, FEN position, or PGN mainline into a new chess game, returning a new game ID. Accepts variant options for FEN/PGN imports and restores saved options for JSON.
Instructions
Import JSON full history/state, a FEN position snapshot, or a supported PGN mainline and return a new game ID. FEN/PGN imports accept variant options; JSON restores its saved options.
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": {
"format": "<format>",
"data": "<data>"
},
"name": "import_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| format | Yes | ||
| options | No | ||
| variant | No |