Give Item (Creative Mode)
minecraft_give_itemGive items to a Minecraft bot by spawning an item stack directly into its inventory. Requires creative mode; specify item, count, and optional slot.
Instructions
Spawns an item stack directly into the bot's inventory. Only works while the bot is in creative gamemode.
Returns: { message } Errors: bot not in creative mode, unknown item id, or inventory full.
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": {
"item_name": "<item_name>"
},
"name": "minecraft_give_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Specific inventory slot (9-44). Omit to auto-pick an empty slot. | |
| count | No | ||
| item_name | Yes | Exact item id, e.g. "diamond_block", "oak_planks" |