Assume, a Giant Toad swallowed kobold A. Kobold B stands near this Giant Toad (inside 5 feets).
Both kobolds have Pack Tactics feature, which says
You have advantage on an attack roll against a creature if at least one of your allies is within 5 feet of the creature and the ally isn’t incapacitated.
Does it mean that both kobolds have advantage on an their attack rolls? Maybe only kobold A? Maybe only kobold B?