Call a Nakama server RPC
nakama_call_rpcInvoke a registered runtime RPC function by ID over the client API, with optional payload and HTTP key for unauthenticated access.
Instructions
Invoke a registered runtime RPC function by id over the client API. Pass payload as a JSON object or string; it is encoded as the gateway expects. Provide http_key to call an RPC without a player session; otherwise authenticate first with nakama_authenticate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Registered RPC function id. | |
| payload | No | RPC payload (object or string). | |
| http_key | No | Server HTTP key for unauthenticated RPC calls. |