execute_command
Execute Minecraft commands remotely for an online player, enabling automated gameplay actions and server management through API integration.
Instructions
Execute a Minecraft command remotely as the authenticated player.
This tool allows you to run any Minecraft command as if the player associated with the API key typed it in-game. The player must be online and on a server. The player will be notified in-game that a remote command is being executed.
To get help for any command, simply append "help" as the last argument. For example: "island help", "island upgrade help", "gamemode help"
Args: command: The Minecraft command to execute (without the leading slash). Examples: "gamemode creative", "tp 100 64 200", "island upgrade speed 5"
Returns: The output from the command execution, or an error message if it failed.
Examples: - execute_command("help") - Shows general help - execute_command("island help") - Shows island command help - execute_command("island upgrade help") - Shows island upgrade help - execute_command("gamemode survival") - Changes gamemode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |