Run a console command
run_commandExecute any Minecraft command as the server console to perform operator-level actions beyond the per-call block limit. Only command dispatch status is reported, not output.
Instructions
Run any Minecraft command as the server console.
Unrestricted escape hatch: it can do anything an operator can, including stopping the server, and the per-call block limit does not apply. Prefer the dedicated tools. The plugin only reports whether the command was dispatched; the command's output is not returned.
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": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | One command line, with or without the leading '/', e.g. 'weather clear' or '/say hi'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||