set_sealed_inventory
Set the exact quantity of a sealed Magic: The Gathering product in your inventory, creating or updating the entry as needed.
Instructions
Add or update a sealed product in the authenticated user's inventory by setting its absolute quantity (upserts the row for that product). This is a real write and is Premium-gated. Use remove_sealed_inventory 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": {
"sealedProductUuid": "<sealedProductUuid>",
"quantity": "<quantity>"
},
"name": "set_sealed_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | Absolute quantity to set for this product. | |
| sealedProductUuid | Yes | Sealed product UUID. Get it from get_sealed_products or get_sealed_product. |