buy
Purchase items from a shop after opening the shop list; provide a name ID and optional count.
Instructions
Buy items from shop. Must open buy list first with tmw_shop_buy.
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": {
"name_id": "<name_id>"
},
"name": "buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| name_id | Yes |