update_buy_list
Set the absolute quantity for a buy-list card and finish, replacing the current value. Specify 0 to remove the entry from your buy list.
Instructions
Set the absolute quantity for a buy-list card+finish (not a delta). A quantity of 0 removes the row. Use add_buy_list to increment instead. Requires IWMM_API_KEY.
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": {
"cardId": "<cardId>",
"quantity": "<quantity>"
},
"name": "update_buy_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | Internal IWMM card UUID. Get from search_cards or get_card. | |
| isFoil | No | Whether this is the foil variant. Foil and non-foil are separate rows. Defaults to false. | |
| quantity | Yes | Absolute quantity to set. 0 removes the row. |