write_sort
Set the order of a page's children by passing the parent ID or path and the child IDs or paths in the new sequence. Use it to reorder nested pages in LeafWiki.
Instructions
Set the order of the children of a page.
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": {
"parent": "<parent>",
"order": "<order>"
},
"name": "write_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Every child id or path, in the new order | |
| parent | Yes | Parent id or path; "/" for the top level |