woo_create_attribute_term
Create a WooCommerce attribute term by specifying site, attribute ID, and name, with an optional slug for organizing product variations.
Instructions
Create a term for an attribute
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"attribute_id": "<attribute_id>",
"name": "<name>"
},
"name": "woo_create_attribute_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Term name | |
| site | Yes | Site id (see list_sites) | |
| slug | No | ||
| attribute_id | Yes | Attribute ID |