- Issue created by @sijumpk
- 🇮🇳India sijumpk
Changes have been added to the relevant branch — please pull the latest code and test as follows:
How to test the Menu Agent
- Install the Drupal CMS AI recipe → .
- Check out the code from the branch containing the Menu Agent implementation.
- Run the database updates to register the new agent configuration:
drush updb
- Go to the AI Assistant configuration page and edit Drupal CMS Assistant settings.
- Under "Agents Enabled", enable the Menu Agent by checking the corresponding checkbox.
- Open the Drupal Agent Chatbot prompt.
- Try creating or editing menus and menu links using natural language commands (e.g., "Create a new menu called Books Menu", or "Add a home page link to the Footer menu with title Home").
- 🇮🇳India anjaliprasannan
Great work! @Sijumpk. I have reviewed and the menu agent is working fine. Only thing is you no need to specify to install drupal cms in steps to reproduce, we can test in drupal core as well.
Steps followed:- Run the database updates to register the new agent configuration:
- drush updb
- Edit the AI Assistant configuration settings.
- Under "Agents Enabled", enable the Menu Agent by checking the corresponding checkbox.
- Open the Drupal Agent Chatbot prompt.
- Tried creating or editing menus and menu links using natural language commands (e.g., "Create a menu Cities with terms as metro cities in India", "You can add Delhi, Chennai, kochi, Bangalore, Mumbai", Add a home page link to the Footer menu with title Home").
Cities menu got created and terms where added. Home page link to the Footer menu with title Home was added.
SS attached
- 🇮🇳India sijumpk
Yes, Anjali, I specified the Drupal CMS AI recipe just to make the testing setup easier. Essentially, it’s simply another agent—like ContentType, FieldType, or TaxonomyAgent—that can be used for regular agentic purposes.