add_buy_list
Add a card to your MTG buy list, increasing the quantity and creating an entry if absent.
Instructions
Add a card to the authenticated user's buy-list, incrementing the quantity (creates the row if absent). This is a real write. Use update_buy_list to set an absolute quantity or remove_buy_list to delete a row. 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>"
},
"name": "add_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 | No | How many to add. Defaults to 1. |