Do something through a plugin
call_extensionRuns a Minecraft server extension action via POST or DELETE, using filled path parameters and optional body or query data to trigger or remove in-game effects.
Instructions
One action of a plugin from list_extensions: post does something, like spawning a boss, and delete takes something away, like a player’s AFK. Fill the path’s {parameters}: players/Steve/afk. body carries a post action’s fields, with a place as { "world": "world", "x": 0, "y": 64, "z": 0 }.
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": {
"namespace": "<namespace>",
"path": "<path>",
"method": "<method>"
},
"name": "call_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | For `post` | |
| path | Yes | With its parameters filled in | |
| query | No | For `delete` | |
| method | Yes | ||
| namespace | Yes | As `list_extensions` shows it |