create_tag
Create a flat product tag like 'Bestseller' or 'New Arrival' for your WooCommerce store, with optional slug, description, and fields to return.
Instructions
Create a product tag. Tags are flat labels like 'Bestseller' or 'New Arrival' — unlike categories, they have no hierarchy.
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": {
"name": "<name>"
},
"name": "create_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tag name | |
| slug | No | Tag slug | |
| fields | No | Comma-separated fields to return in response | |
| description | No | Tag description |