mc_give
Gives Minecraft items by English item ID through protocol-level slot changes, so non-OP players can obtain items or clear their inventory in creative mode.
Instructions
创造模式直接获取物品(协议级改槽位,非 OP 也能用)。给英文物品 id,如 oak_planks / diamond_sword / white_concrete。clearAll=true 清空背包。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mc_give"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 物品英文 id(如 oak_planks) | |
| slot | No | 指定槽位 9-44(缺省自动找空位) | |
| count | No | 数量(默认 1,上限堆叠数) | |
| clearAll | No | true=清空背包(忽略 name) |