Create term
fabrement-create-termAdd a term to any taxonomy (category and post_tag included). Idempotent: an existing name is returned with created:false. A parent that does not exist is refused. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.
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": {
"taxonomy": "<taxonomy>",
"name": "<name>"
},
"name": "fabrement-create-term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human name of the term, e.g. "Fiction". | |
| slug | No | URL slug (default: derived from the name). | |
| parent | No | Parent term id, slug or name — hierarchical taxonomies only. | |
| taxonomy | Yes | Taxonomy slug (see list-taxonomies). | |
| description | No | Optional description shown on term archives. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| slug | No | ||
| parent | No | ||
| termId | Yes | ||
| created | No | False when the term already existed. | |
| taxonomy | Yes |