Reorder a list
reorder_itemsPut a list's picks in a new order. Pass every item id exactly once, first to last, and the revision from list_items; if the list changed since, nothing is written and the current revision comes back. Changes the working order only; readers keep seeing the last approved version until the owner approves a list update. Private lists stay private.
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": {
"list": "<list>",
"order": "<order>",
"revision": "<revision>"
},
"name": "reorder_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | Which list: exact slug, handle/slug, or id from a previous result. | |
| order | Yes | Every item id in the list, in the new order. | |
| revision | Yes | The `revision` list_items returned. |