C
Variation Swatches for WooCommerce WooCommerce

Create new attribute swatch in product editing page

Create new attribute swatch in product editing page

What it does

Create new attribute swatch in product editing page It is one of the abilities the Variation Swatches for WooCommerce 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.

πŸ”’ manage_woocommerceπŸ”’ edit_pages

How an agent calls it

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

variation-swatches-for-woocommerce.create-new-attribute-swatch-in-product-e
{
  "ability": "variation-swatches-for-woocommerce.create-new-attribute-swatch-in-product-e",
  "args": { "input": ... }
}

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

Keep exploring

More Variation Swatches for WooCommerce abilities

All Variation Swatches for WooCommerce abilities β†’
C
Create attribute color swatches
Variation Swatches for WooCommerce
Create attribute color swatches
C
Create attribute image swatches
Variation Swatches for WooCommerce
Create attribute image swatches
C
Create attribute label/text swatches
Variation Swatches for WooCommerce
Create attribute label/text swatches
M
Manage attribute globally
Variation Swatches for WooCommerce
Manage attribute globally