B
Spectra Blocks – AI Website Builder for the Block Editor Content

Block source files are located in the src/ directory

Block source files are located in the src/ directory (excluded from the distribution zip for size).

What it does

Block source files are located in the src/ directory (excluded from the distribution zip for size). It is one of the abilities the Spectra Blocks – AI Website Builder for the Block Editor plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

🔒 edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

spectra-blocks.block-source-files-are-located-in-the-sr
{
  "ability": "spectra-blocks.block-source-files-are-located-in-the-sr",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Spectra Blocks – AI Website Builder for the Block Editor abilities

All Spectra Blocks – AI Website Builder for the Block Editor abilities →
G
Generate a full page from a text prompt
Spectra Blocks – AI Website Builder for the Block Editor
Generate a full page from a text prompt
G
Generate individual sections (hero, pricing, FAQ,
Spectra Blocks – AI Website Builder for the Block Editor
Generate individual sections (hero, pricing, FAQ, testimonials, etc.) instead of a whole page
C
Convert an existing HTML page into native Spectra blocks
Spectra Blocks – AI Website Builder for the Block Editor
Convert an existing HTML page into native Spectra blocks
B
Build with Zip AI
Spectra Blocks – AI Website Builder for the Block Editor
Build with Zip AI
D
Design Library provides pre-built patterns for
Spectra Blocks – AI Website Builder for the Block Editor
Design Library provides pre-built patterns for testimonials, info boxes, pricing tables, and comparisons, all built from Spectra Blocks.