bpb_get_state
Retrieves the current Backpack Battles game state, including shop, inventory, backpack layout, and combat status, so you can inspect live data before buying, placing, or using items.
Instructions
获取当前完整状态:state(title/shop/combat)、职业、回合、剩余重试次数、金币、当前 run 胜场 wins、累计胜场 total_wins、生存模式状态 survival、商店物品/技能及价格、保留项、刷新费、背包 9x7 摆盘(bags/items/grid)、储物箱、战斗结算是否可跳过。战斗期间只返回摘要(inventory_available=false),不会触碰背包/商店;结算后回到 shop 再读取完整状态。返回的 id 字段用于后续 buy/place/rotate/store/reserve/socket 操作;item.fusion_locked / item.locked 是融合锁定状态;item.is_gem 与 item.sockets 用于宝石镶嵌。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bpb_get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||