Reorder blocks
reorder_blocksPut the document's blocks in this exact order (every block id, from get_outline).
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": {
"documentId": "<documentId>",
"blockIds": "<blockIds>"
},
"name": "reorder_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockIds | Yes | All block ids in the new order. | |
| documentId | Yes | The document id. |