Lock or open game
set_game_visibilityChanges who can see a game. public: its chosen sounds show in the site's Community list (Home and Sounds), with the owner's @username. private: only the owner sees it; needs a paid plan, and on the free plan the call fails with a message to show the user. Doesn't touch the sounds or spend credits, and calling it again with the same value changes nothing. Only call it when the user asks to lock or open the 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_id": "<game_id>",
"visibility": "<visibility>"
},
"name": "set_game_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | Yes | The game id, from list_games. | |
| visibility | Yes | public (its sounds in the Community list) or private (owner only, paid plan). |