modx_ms2_create_category
Creates a miniShop2 category as an msCategory resource under a chosen parent, with optional alias and publish status.
Instructions
Create a miniShop2 category (msCategory resource).
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": {
"pagetitle": "<pagetitle>",
"parent": "<parent>"
},
"name": "modx_ms2_create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | ||
| parent | Yes | Parent resource/category id. | |
| pagetitle | Yes | ||
| published | No |