Choose how to integrate with SGL
choose_integrationGiven a game engine, platform or kind of project (Unity, Godot, GameMaker, Roblox, a Minecraft mod, a web game, a Discord bot, a stream overlay, a Shopify store…), says whether SGL has a ready-made plugin for it and how to use it, or, when there isn’t one, how to build the integration: the calls in order, where to keep tokens and keys, and which SGL plugin’s source to port.
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": {
"platform": "<platform>"
},
"name": "choose_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | No | Optional: what it should do. sign-in: Sign in with SGL in the game; match: Event lobbies: the player’s called match, ready; results: Results from the game; events: Create and run events from your own tools; registrations: Sign players up from a launcher or bot; webhooks: Hear about changes as they happen; display: Brackets, standings and results on a stream overlay or website. Games default to sign-in, match and results. | |
| platform | Yes | The engine, platform or project, in the person’s words, e.g. "Unity 2022", "GameMaker", "Fabric mod for Minecraft 1.21", "Discord bot in Python". |