# GetTalentTabInfo is not in World of Warcraft Forever: write C_SpecializationInfo.GetSpecializationInfo

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

```lua
specId, name, description, icon, role, primaryStat, pointsSpent, background, previewPointsSpent, isUnlocked = C_SpecializationInfo.GetSpecializationInfo(specializationIndex, [isInspect], [isPet], [inspectTarget], [sex], [groupIndex], [classID])
```

Arguments:
- `specializationIndex`: luaIndex
- `isInspect`: bool, default false
- `isPet`: bool, default false
- `inspectTarget`: string, may be nil
- `sex`: number, may be nil
- `groupIndex`: luaIndex, may be nil
- `classID`: number, may be nil

Returns:
- `specId`: number, default 0
- `name`: string, may be nil
- `description`: string, may be nil
- `icon`: fileID, may be nil
- `role`: string, may be nil
- `primaryStat`: luaIndex, may be nil
- `pointsSpent`: number, default 0
- `background`: string, may be nil
- `previewPointsSpent`: number, default 0
- `isUnlocked`: bool, default true

---
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."
