modx_reorder_resources
Reorder MODX resources in the tree by setting menuindex values and optionally reassigning parents, using per-resource items to control placement and hierarchy.
Instructions
Reorder resources in the tree by setting menuindex (and optionally parent). items = [{id, menuindex, parent?}], applied per 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": {
"items": "<items>"
},
"name": "modx_reorder_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |