It keeps tots safe from drama writer (7)
I believe the answer is:
playpen
'it keeps tots safe' is the definition.
The definition suggests a singular noun which matches the answer.
'drama writer' is the wordplay.
'drama' becomes 'play' (synonyms).
'writer' becomes 'pen' (something which writes).
'play'+'pen'='PLAYPEN'
'from' acts as a link.
Can you help me to learn more?
(Other definitions for playpen that I've seen before include "device to capture the young" , "Enclosure for kids" , "Portable enclosure for tots" , "Toddler's enclosure" , "Portable enclosure for young-child" .)