# UseContainerItem is not in World of Warcraft Forever: write C_Container.UseContainerItem

Forever 1.60.1 (70959), Interface 16001. An addon that calls `UseContainerItem` stops at /reload with `attempt to call global 'UseContainerItem' (a nil value)`. Write `C_Container.UseContainerItem`; its arguments and returns may differ from the old UseContainerItem, read them first. Page: https://wowaddons.gg/forever-api/C_Container.md

```lua
C_Container.UseContainerItem(containerIndex, slotIndex, [unitToken], [bankType], [reagentBankOpen])
```

Arguments:
- `containerIndex`: BagIndex
- `slotIndex`: luaIndex
- `unitToken`: UnitToken, may be nil
- `bankType`: BankType, may be nil
- `reagentBankOpen`: bool, default false

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
