Get working SGL code
code_exampleWorking code from SGL’s own plugins (Unity, Unreal, Godot, C), as their documentation ships it: install, set up and use, including sign-in, the called match, ready and results. "http" gives the plain HTTP calls (curl and Node.js) for platforms without a plugin, and "webhook" a webhook receiver that checks the signature.
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": {
"engine": "<engine>"
},
"name": "code_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | Which code. |