bpb_place_item
Places a Backpack Battles item at target grid coordinates via native drop, returning exact occupied cells and supporting outside-bag or multi-backpack placement.
Instructions
原生落格:pickup(当前物品位置) → 设目标包围盒中心 → Item.drop(),成功返回的 cells 精确等于目标格,并触发游戏正常的落格/放置回调。物品/全部模式下允许放到包外(outside_bag=true);物品可以同时覆盖多个背包,不要求属于单一背包;位置/朝向由游戏 drop 校验。
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>",
"x": "<x>",
"y": "<y>"
},
"name": "bpb_place_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | 左上角列,0-8 | |
| y | Yes | 左上角行,0-6 | |
| item_id | Yes | 物品/技能 id(来自 state 的 backpack.items、storage 或 buy_item 返回的 skill_id) |