Export PGN (view)
export_pgnExport up to 100 games as one PGN text (games in the order given, separated by blank lines; ids past the cap are ignored, unknown ids skipped). Returns {games: count, pgn}. App-only: backs the board view's download button; the model should use get_game.
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": {
"game_ids": "<game_ids>"
},
"name": "export_pgn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_ids | Yes | game_id values from search_games hits |