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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| format | Yes | ||
| options | No | ||
| variant | No |