baasix_sort_items
Reorder items in a collection by moving a specified item before a target item, updating the sort order.
Instructions
Sort items within a collection (move item before/after another)
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": {
"collection": "<collection>",
"item": "<item>",
"to": "<to>"
},
"name": "baasix_sort_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ID of target item to move before | |
| item | Yes | ID of item to move | |
| collection | Yes | Collection name |