Manage game sessions
sessionLists open Twine playtest games with IDs and metadata, then closes a selected game or all games, including their browser contexts and static servers.
Instructions
list: the open games (id, title, format, step, source). close: shut one down, including its browser context and static server. close_all: shut every game down.
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": {
"action": "<action>"
},
"name": "session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | list open games, close one, or close all. | |
| game_id | No | Session id from open_game. Omit when a single game is open. |