Buy a shop item
balatro_buy_shop_itemBuy a card, voucher, or pack from the Balatro shop after validating shop state, index, funds, and inventory space.
Instructions
购买商店物品;先校验 SHOP、索引、资金及明显的槽位不足。
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": {
"kind": "<kind>",
"index": "<index>",
"expected_state_token": "<expected_state_token>"
},
"name": "balatro_buy_shop_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | card、voucher 或 pack;决定上游 buy 参数名。 | |
| index | Yes | 该商店区域的当前 0-based 索引。 | |
| expected_state_token | Yes | 最新 state_token;必填。 |