mc_execute_as_op
Executes Minecraft commands as an online operator. Automatically selects the sole online operator, or lets you specify one when multiple operators are online.
Instructions
Execute a command as an online operator. Automatically selects an online op if only one exists, otherwise requires specifying which op to use.
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": {
"command": "<command>"
},
"name": "mc_execute_as_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Optional: specific operator name to execute as. If not provided, uses MC_DEFAULT_OP env var or auto-selects if only one op online. | |
| command | Yes | The command to execute (without leading slash) |