home / skills / bdambrosio / cognitive_workbench / mc-drop
This skill drops items from inventory into the world as item entities, enabling world modification and easy item sharing.
npx playbooks add skill bdambrosio/cognitive_workbench --skill mc-dropReview the files below or copy the command above to add this skill to your agents.
---
name: mc-drop
type: python
description: "Drop items from inventory into the world as entities - embodied manipulation. Returns dropped items"
---
# Minecraft Drop Tool
Drops items from inventory into the world as item entities. Embodied manipulation that physically places items in the world.
## Purpose
Item dropping for inventory management, item sharing, and world modification. Creates item entities in the world that can be picked up by the bot or other players.
## Input
- `value`: Item name to drop (preferred)
- `item`: Item name to drop (alternative to value)
- `count`: Integer (optional, default: all)
- `scatter`: Boolean (optional, default: false)
## Output
Returns uniform_return format with:
- `value`: Text summary of dropped items
- `data`: Structured data dict (machine-readable). Key fields:
- `success`: Boolean
- `dropped`: Array of `{item: string, count: int}`
## Behavior & Performance
- Drops items as entities in the world
- Default behavior drops all items of specified type
- Scatter option spreads items when dropping multiple
## Guidelines
- Use `mc-inventory` first to check available items
- Item name must match exactly
- Dropped items become entities that can be picked up
- Use `mc-observe` and inspect `entities.by_category.item` / `entities.nearby` to see dropped items
## Usage Examples
Drop one item:
```json
{"type":"mc-drop","item":"stone","count":1,"out":"$drop"}
```
Drop all items of type:
```json
{"type":"mc-drop","value":"dirt","out":"$drop_all"}
```
This skill lets a Minecraft agent drop items from its inventory into the world as physical item entities. It supports dropping a specific count or all items of a given type and can scatter multiple items across nearby space. The skill returns a structured result indicating which items were dropped and whether the action succeeded.
The skill inspects the agent inventory and removes the requested items, spawning them as in-world item entities at the agent's location. You specify the item by exact name and an optional count; if no count is given, it drops all matching items. A scatter option spreads multiple drops to nearby positions to create distinct entities rather than a single stack.
What happens if the item name is wrong?
The skill will not drop anything; check inventory names exactly before calling the skill.
If I don't set count, how many are dropped?
By default the skill drops all items of the specified type found in the agent's inventory.