Execute a Nakama API action
nakama_execute_actionExecute any Nakama game server operation by action ID, with automatic authentication for admin, client, or server-key endpoints. Provide path, query, or body parameters as needed.
Instructions
Execute any Nakama operation by its action_id (from nakama_search_actions). Provide path_params, query_params, and/or body as needed. Auth is handled automatically: console actions auto-login with configured admin credentials; client actions use the player session from nakama_authenticate; authenticate endpoints use the server key. For calling server RPCs prefer nakama_call_rpc (it encodes the payload correctly).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_id | Yes | Action ID returned by nakama_search_actions, e.g. 'ListAccounts' or 'Nakama_WriteStorageObjects'. | |
| path_params | No | Values for {placeholders} in the path, e.g. { id: '<uuid>' }. | |
| query_params | No | Query-string parameters. | |
| body | No | JSON request body (for POST/PUT/DELETE actions that take one). | |
| auto_paginate | No | For GET list endpoints: follow `cursor`/`next_cursor` and merge pages. | |
| max_pages | No | Max pages to fetch when auto_paginate is set (default 5). |