bpb_rotate_item
Rotates a backpack item in place when all target cells stay inside the bag and do not overlap, supporting rectangular and L-shaped items. Returns cannot_rotate_in_place for invalid targets.
Instructions
游戏内原子旋转(已启用):目标格全在包内且无重叠时,直接 removeItem → orientItem → addItemByTopLeft,不经过 drop/tryAddItem/hotswap。支持矩形和 L 形;目标不合法返回 cannot_rotate_in_place。BPB_ROTATE=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": {
"item_id": "<item_id>"
},
"name": "bpb_rotate_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| direction | No | right |