Generated with the help of an LLM.
Problem/Motivation
Display Builder Tools now holds the display tools as Tool API plugins, for MCP clients, Drush and the chat alike.
Display Builder AI still ships its own copies as AI function calls, so the same 15 tools exist twice.
Proposed resolution
The agents call tool:display_builder_* through the Tool AI connector, and the 15 function calls go. A subscriber fills the chat's active instance into the tools, and follows a page the chat creates.
A post update installs Display Builder Tools and the connector, moves the catalog settings, grants "Use Display Builder Tools" to the roles that could use the chat, and renames the tools in the shipped agents, keeping customized prompts.
Rich text from the chat now lands in a textarea source, no longer in wysiwyg with basic_html.
Remaining tasks
- Run the smoke test with a real provider.
Issue fork display_builder_ai-3639817
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mogtofu33 commentedComment #5
mogtofu33 commented