If you mean in ERA, the creature attributes include any spell attack as a weapon, to be used in the attack dialog.
For example, dragon breath is listed as an OB with the corresponding bonus and attack table.
The spells known, listed in a creature's description, are not included in the character created, since the entries are created based on the tables in C&T, so there is no way to deduce all the spells known by all the creatures.