update_game_config
Set a game's allowed-origins allowlist AFTER creation (by gameId — from list_games). Restricts browser score submissions to specific web origins: an exact origin like "https://yourgame.com" or a wildcard host like "*.yourgame.com" (up to…
Instructions
Set a game's allowed-origins allowlist AFTER creation (by gameId — from list_games). Restricts browser score submissions to specific web origins: an exact origin like "https://yourgame.com" or a wildcard host like "*.yourgame.com" (up to 20). Pass an empty array to allow all origins (the default). Returns the normalized stored list. Gates browser requests only — server-to-server calls send no Origin header.
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": {
"gameId": "<gameId>",
"allowedOrigins": "<allowedOrigins>"
},
"name": "update_game_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameId | Yes | UUID of the game (from list_games) | |
| allowedOrigins | Yes | Origin patterns — exact https origin or *.host wildcard, validated server-side. Full replacement of the allowlist; [] allows all origins. |