bpb_rotate_bag
Rotates an empty backpack left or right by atomically removing, reorienting, and re-adding the item, and reports bag_not_empty when the backpack is not empty.
Instructions
游戏内原子旋转空背包(已启用):目标格全在包内且无重叠时,removeItem → orientItem → addItemByTopLeft;非空背包返回 bag_not_empty。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_bag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| direction | No | right |