Give item
give_itemAdds a specified quantity of an item to an online Minecraft player's inventory by username; items that do not fit are lost.
Instructions
Add items to an online player's inventory. Items that do not fit are lost.
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": {
"username": "<username>",
"item": "<item>"
},
"name": "give_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Item id such as 'minecraft:diamond' or 'bread'. | |
| amount | No | Number of items (1-64). | |
| username | Yes | Exact, case-sensitive name of an online player. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||