Skip to content

Feature idea: make block tools aware of block supports so that they can be styled #63

@ramonjd

Description

@ramonjd

Left field, but it'd be handy in the future for block tools to be aware of their block supports and other capabilities.

The input schema would be populated with properties based off the registered blocks attributes/block supports, acting as guardrails as to what a block can and cannot do.

For example, a theme may have turned off typography support for a particular block. We therefore wouldn't want the agent to modify that block's typography styles.

Here's a demo of what I was thinking:

Kapture.2025-05-20.at.12.22.37.mp4

And the (trashable) PR #62

Maybe it'd be as simple as adding guardrails in the prompt based on the block's supports rather than setting up a whole schema? 🤷🏻

Just an idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions