Overview

Reported in comment #91 in #3533079: Introduce AI Agents and tools to create entire page templates using available component entities, if you ask the chatbot to provide example prompts for when it would use the page builder agent, it may return examples such as:

  • “Replace the current hero image with a new photo.”
  • “Move the contact form above the location map.”

However, these prompts will not work. The page builder agent can only add components to a page. It cannot modify or rearrange components that are already placed.

Editing existing components is being addressed in #3549232: Canvas AI: Updating page contents with agents. Until that issue is merged, we should restrict the orchestrator and the page builder agent from handling page editing tasks and limit them strictly to adding new components.

Proposed resolution

User interface changes

Issue fork canvas-3571260

Command icon 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

akhil babu created an issue. See original summary.

nickolaj made their first commit to this issue’s fork.

nickolaj’s picture

Status: Active » Needs review

Updated orchestrator and page builder agent configurations to clearly inform users that the page builder can only add new components and cannot edit, move, rearrange, replace, or remove existing components on the page.