bpb_socket_gem
Inserts a gem item into an empty socket slot on a specified host item using host and gem IDs, with an optional socket index, without drop/hotswap.
Instructions
把宝石类物品镶到宿主物品的空镶嵌位。host_id 的 state.sockets 提供 socket_index、occupied、gem_id;宝石可以是背包或储物箱中的散装宝石。镶嵌是原子的,不走 drop/hotswap。
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": {
"host_id": "<host_id>",
"gem_id": "<gem_id>"
},
"name": "bpb_socket_gem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gem_id | Yes | 宝石物品 id(如 Lump of Coal / Chipped Ruby) | |
| host_id | Yes | 宿主物品 id(武器/防具等,且有 socket) | |
| socket_index | No | 镶嵌位索引,默认 0 |