Capabilities/aiplacement/editor:generate text
From MoodleDocs
This capability allows a user to create AI generated text from a button in the text editor.
This capability is allowed for the default roles of Manager, Teacher, Non-editing teacher and Student.